From e494d4414217a0777546c393a98d44ae43472750 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Tue, 28 Jan 2014 19:34:18 +0100 Subject: change pane to panel to give readability --- lib/AdminPanel/Category.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/AdminPanel/Category.pm b/lib/AdminPanel/Category.pm index 95abf91..2e72c28 100644 --- a/lib/AdminPanel/Category.pm +++ b/lib/AdminPanel/Category.pm @@ -150,7 +150,7 @@ sub moduleLoaded { =head3 INPUT $self: this object - $pane: parent panel in which create buttons + $panel: parent panel layout in which to create buttons $factory: yui factory =head3 DESCRIPTION @@ -161,14 +161,14 @@ sub moduleLoaded { #============================================================= sub addButtons { - my($self, $pane, $factory) = @_; + my($self, $panel, $factory) = @_; my $count = 0; my $tmpButton; my $currLayout = 0; - $factory->createVSpacing($pane, 2); + $factory->createVSpacing($panel, 2); foreach my $mod (@{$self->{modules}}) { if(($count % 2) != 1) { - $currLayout = $factory->createHBox($pane); + $currLayout = $factory->createHBox($panel); $factory->createHStretch($currLayout); } $count++; @@ -179,10 +179,10 @@ sub addButtons { $tmpButton->setIcon($mod->icon); $factory->createHStretch($currLayout); if(($count % 2) != 1) { - $factory->createVSpacing($pane, 2); + $factory->createVSpacing($panel, 2); } } - $factory->createVStretch($pane); + $factory->createVStretch($panel); } #============================================================= -- cgit v1.2.1