X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9b4b377178bd704bfb646817eb23a014ef46b909..8bed51b59d52822ce4803fe18597c69ee3306183:/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;