diff options
author | Wanderlei Antonio Cavassin <cavassin@mandriva.com.br> | 2008-11-25 17:51:08 +0000 |
---|---|---|
committer | Wanderlei Antonio Cavassin <cavassin@mandriva.com.br> | 2008-11-25 17:51:08 +0000 |
commit | 69646a4169b6478cd43fdf16b3f41abc996eb1b4 (patch) | |
tree | 9dcfb1a2b2291b58e84214ff3179d409857661fe /perl-install | |
parent | 12369665f71d17d974bde17202978c737b19be26 (diff) | |
download | drakx-backup-do-not-use-69646a4169b6478cd43fdf16b3f41abc996eb1b4.tar drakx-backup-do-not-use-69646a4169b6478cd43fdf16b3f41abc996eb1b4.tar.gz drakx-backup-do-not-use-69646a4169b6478cd43fdf16b3f41abc996eb1b4.tar.bz2 drakx-backup-do-not-use-69646a4169b6478cd43fdf16b3f41abc996eb1b4.tar.xz drakx-backup-do-not-use-69646a4169b6478cd43fdf16b3f41abc996eb1b4.zip |
avoid to add empty cancel button (thanks blino)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 47d657209..04a4786f1 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -541,7 +541,7 @@ sub create_okcancel { $bprev = gtknew('Label') if !$cancel && $::Wizard_no_previous && !@left && !@right; if ($::isWizard || $w->{pop_it}) { # wizard mode: order is cancel/left_extras/white/right_extras/prev/next - unshift @left, $w->{wizcancel} if !$::isInstall; + unshift @left, $w->{wizcancel} if $w->{wizcancel}; push @right, $bprev, $bok; } else { # normal mode: cancel/ok button follow GNOME's HIG |