summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/interactive/gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 1c3c8f6cc..12aeccebb 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -458,7 +458,8 @@ sub create_widget {
@buttons = map {
my $button = /^gtk-/ ? gtknew('Button', image => gtknew('Image', stock => $_))
: Gtk2::Button->new(translate($_));
- { kind => lc $_, action => $actions->{$_}, button => $button };
+ my $kind = $_;
+ { kind => lc $kind, action => $actions->{$kind}, button => $button };
} @buttons;
my $modify = find { $_->{kind} eq 'modify' } @buttons;