aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-01-28 19:34:18 +0100
committerAngelo Naselli <anaselli@linux.it>2014-01-28 19:34:18 +0100
commite494d4414217a0777546c393a98d44ae43472750 (patch)
tree7d3c822ea9b7e8923969471f32f2f52848248372 /lib
parent31224a49dff6ee80aaaab8421c898d4655579020 (diff)
downloadmanatools-e494d4414217a0777546c393a98d44ae43472750.tar
manatools-e494d4414217a0777546c393a98d44ae43472750.tar.gz
manatools-e494d4414217a0777546c393a98d44ae43472750.tar.bz2
manatools-e494d4414217a0777546c393a98d44ae43472750.tar.xz
manatools-e494d4414217a0777546c393a98d44ae43472750.zip
change pane to panel to give readability
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/Category.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/AdminPanel/Category.pm b/lib/AdminPanel/Category.pm
index 95abf918..2e72c28a 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);
}
#=============================================================