diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-01-28 19:34:18 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-01-28 19:34:18 +0100 |
commit | e494d4414217a0777546c393a98d44ae43472750 (patch) | |
tree | 7d3c822ea9b7e8923969471f32f2f52848248372 /lib | |
parent | 31224a49dff6ee80aaaab8421c898d4655579020 (diff) | |
download | colin-keep-e494d4414217a0777546c393a98d44ae43472750.tar colin-keep-e494d4414217a0777546c393a98d44ae43472750.tar.gz colin-keep-e494d4414217a0777546c393a98d44ae43472750.tar.bz2 colin-keep-e494d4414217a0777546c393a98d44ae43472750.tar.xz colin-keep-e494d4414217a0777546c393a98d44ae43472750.zip |
change pane to panel to give readability
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AdminPanel/Category.pm | 12 |
1 files 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); } #============================================================= |