summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-09-11 19:22:24 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-09-11 19:22:24 +0000
commitfe0dfffe710d3cc77fa31e87ff1f17d3c47b7a8c (patch)
treefbcf62200c398f56814801081b891e4f1dcd23b9 /perl-install/ugtk2.pm
parent32dfdd0da93cdcfe66aa9953a55c0b1df904dde0 (diff)
downloaddrakx-backup-do-not-use-fe0dfffe710d3cc77fa31e87ff1f17d3c47b7a8c.tar
drakx-backup-do-not-use-fe0dfffe710d3cc77fa31e87ff1f17d3c47b7a8c.tar.gz
drakx-backup-do-not-use-fe0dfffe710d3cc77fa31e87ff1f17d3c47b7a8c.tar.bz2
drakx-backup-do-not-use-fe0dfffe710d3cc77fa31e87ff1f17d3c47b7a8c.tar.xz
drakx-backup-do-not-use-fe0dfffe710d3cc77fa31e87ff1f17d3c47b7a8c.zip
don't pack_end two times a button, this causes a Gtk Critical and we never know what can happen after that :/
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 8918c14c8..3ef09e956 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -493,7 +493,7 @@ sub create_okcancel {
my $box = create_hbox($o_spread || "edge");
$box->pack_start($_, 0, 0, 1) foreach @l2;
- $box->pack_end($_, 0, 0, 1) foreach @r2, @l;
+ $box->pack_end($_, 0, 0, 1) foreach uniq(@r2, @l);
foreach (@l2, @r2, @l) {
$_->show;
$_->can_default($wizard_buttons);