summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/interactive/gtk.pm5
2 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d9900e042..707cdde80 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- drakboot:
+ o fix crash on clicking Up/Down buttons (#54077)
+
Version 12.56 - 30 September 2009
- harddrake:
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 12aeccebb..6cfedf766 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -459,7 +459,8 @@ sub create_widget {
my $button = /^gtk-/ ? gtknew('Button', image => gtknew('Image', stock => $_))
: Gtk2::Button->new(translate($_));
my $kind = $_;
- { kind => lc $kind, action => $actions->{$kind}, button => $button };
+ $kind =~ s/^gtk-go-//;
+ { kind => lc $kind, action => $actions->{$kind}, button => $button, real_kind => $_ };
} @buttons;
my $modify = find { $_->{kind} eq 'modify' } @buttons;
@@ -476,7 +477,7 @@ sub create_widget {
}
add_modify_remove_sensitive(\@buttons, $e);
- my ($images, $real_buttons) = partition { $_->{kind} =~ /^gtk-/ } @buttons;
+ my ($images, $real_buttons) = partition { $_->{real_kind} =~ /^gtk-/ } @buttons;
$real_w = gtkpack_(Gtk2::HBox->new(0,0),
1, create_scrolled_window($w),
0, gtkpack__(Gtk2::VBox->new(0,0),