summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorAurélien Lefebvre <alefebvre@mandriva.com>2009-08-20 09:35:21 +0000
committerAurélien Lefebvre <alefebvre@mandriva.com>2009-08-20 09:35:21 +0000
commitd70dffb82b66da4163cc07e8bde185e2e700dcf1 (patch)
tree9fc3a7ffc38d60afe03452172bf1d85a3b74aaa7 /perl-install/interactive
parentb2ecec7d06660c580b36d978d8cf3cf19fb084be (diff)
downloaddrakx-backup-do-not-use-d70dffb82b66da4163cc07e8bde185e2e700dcf1.tar
drakx-backup-do-not-use-d70dffb82b66da4163cc07e8bde185e2e700dcf1.tar.gz
drakx-backup-do-not-use-d70dffb82b66da4163cc07e8bde185e2e700dcf1.tar.bz2
drakx-backup-do-not-use-d70dffb82b66da4163cc07e8bde185e2e700dcf1.tar.xz
drakx-backup-do-not-use-d70dffb82b66da4163cc07e8bde185e2e700dcf1.zip
- drakboot
o fix crash bug #52997
Diffstat (limited to 'perl-install/interactive')
-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 d34a14b14..a958fe7bc 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, translate($_) if ($actions->{$_});
+ push @buttons, $_ if ($actions->{$_});
}
my @buttons = map {
{ kind => lc $_, action => $actions->{$_}, button => Gtk2::Button->new(translate($_)) };