summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWanderlei Antonio Cavassin <cavassin@mandriva.com.br>2008-11-25 17:51:08 +0000
committerWanderlei Antonio Cavassin <cavassin@mandriva.com.br>2008-11-25 17:51:08 +0000
commit69646a4169b6478cd43fdf16b3f41abc996eb1b4 (patch)
tree9dcfb1a2b2291b58e84214ff3179d409857661fe
parent12369665f71d17d974bde17202978c737b19be26 (diff)
downloaddrakx-69646a4169b6478cd43fdf16b3f41abc996eb1b4.tar
drakx-69646a4169b6478cd43fdf16b3f41abc996eb1b4.tar.gz
drakx-69646a4169b6478cd43fdf16b3f41abc996eb1b4.tar.bz2
drakx-69646a4169b6478cd43fdf16b3f41abc996eb1b4.tar.xz
drakx-69646a4169b6478cd43fdf16b3f41abc996eb1b4.zip
avoid to add empty cancel button (thanks blino)
-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 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