summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-05 09:27:43 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-05 09:27:43 +0000
commit0ad666f424b96879c976319f87f7ae13788a82aa (patch)
tree898a447456be6ff938bf9fd35b9fcc33d31418e9 /perl-install/interactive/gtk.pm
parentae4c8774677a8037728e6673eeff61dc06fb7881 (diff)
downloaddrakx-0ad666f424b96879c976319f87f7ae13788a82aa.tar
drakx-0ad666f424b96879c976319f87f7ae13788a82aa.tar.gz
drakx-0ad666f424b96879c976319f87f7ae13788a82aa.tar.bz2
drakx-0ad666f424b96879c976319f87f7ae13788a82aa.tar.xz
drakx-0ad666f424b96879c976319f87f7ae13788a82aa.zip
(create_widget) defer using local case where needed
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 971203960..1c3c8f6cc 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -453,7 +453,7 @@ sub create_widget {
my @buttons = (N_("Add"), N_("Modify"), N_("Remove"));
# Add Up/Down buttons if their actions are defined
foreach (qw(Up Down)) {
- push @buttons, 'gtk-go-' . lc($_) if $actions->{$_};
+ push @buttons, 'gtk-go-' . $_ if $actions->{$_};
}
@buttons = map {
my $button = /^gtk-/ ? gtknew('Button', image => gtknew('Image', stock => $_))