X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b6fd15a8dc44f9b09d5a2bce766cda14b87c6e13..91ff7a511c5afd523fcaf6a6aeeeee1bee6e700f:/SL/Layout/Classic.pm diff --git a/SL/Layout/Classic.pm b/SL/Layout/Classic.pm index a2ef7702d..9503d05fe 100644 --- a/SL/Layout/Classic.pm +++ b/SL/Layout/Classic.pm @@ -5,19 +5,14 @@ use parent qw(SL::Layout::Base); use SL::Layout::Top; use SL::Layout::MenuLeft; +use SL::Layout::None; -sub new { - my ($class, @slurp) = @_; - - my $self = $class->SUPER::new(@slurp); - - $self->add_sub_layouts([ +sub init_sub_layouts { + [ SL::Layout::Top->new, SL::Layout::MenuLeft->new, SL::Layout::None->new, - ]); - - $self; + ] } 1;