X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b6fd15a8dc44f9b09d5a2bce766cda14b87c6e13..c954dea7c1b814d66b8c31d04fa70a1bbbcce71e:/SL/Layout/Classic.pm diff --git a/SL/Layout/Classic.pm b/SL/Layout/Classic.pm index a2ef7702d..94f12b3d6 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::None->new, SL::Layout::Top->new, SL::Layout::MenuLeft->new, - SL::Layout::None->new, - ]); - - $self; + ] } 1;