From 0ad666f424b96879c976319f87f7ae13788a82aa Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 5 Oct 2009 09:27:43 +0000 Subject: (create_widget) defer using local case where needed --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/interactive') 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 => $_)) -- cgit v1.2.1