summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-10 15:02:38 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-10 15:02:38 +0000
commit21909431521cdcaa28e166a40d51db777745bfcd (patch)
tree2205332a33e6c88e00a3a1b6238bc6c7d2e83e50
parent3db371938195669fd2843d1d2f5ccbc449af718d (diff)
downloaddrakx-21909431521cdcaa28e166a40d51db777745bfcd.tar
drakx-21909431521cdcaa28e166a40d51db777745bfcd.tar.gz
drakx-21909431521cdcaa28e166a40d51db777745bfcd.tar.bz2
drakx-21909431521cdcaa28e166a40d51db777745bfcd.tar.xz
drakx-21909431521cdcaa28e166a40d51db777745bfcd.zip
(create_okcancel) fix position of cancel button in popups
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/ugtk2.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index f6f069348..f74510768 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- fix position of cancel button in popups
- drakboot
o fix nolapic/lapic logic due to altered kernel settings
- fix input devices detection in rpmsrate (broken for 3 years, #43721)
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index f32ca85dd..7e5650860 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -541,7 +541,7 @@ sub create_okcancel {
# we put space to group buttons in two packs (but if there's only one when not in wizard mode)
# but in the installer where all windows run in wizard mode because of design even when not in a wizard step
$bprev = gtknew('Label') if !$cancel && $::Wizard_no_previous && !@left && !@right;
- if ($::isWizard) {
+ if ($::isWizard || $w->{pop_it}) {
# wizard mode: order is cancel/left_extras/white/right_extras/prev/next
unshift @left, $w->{wizcancel} if !$::isInstall;
push @right, $bprev, $bok;