summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/mygtk2.pm4
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index d40160b5f..88dd19bdd 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- center sub dialogs
+
Version 11.17 - 19 August 2008
- drakx-in-chroot:
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 722952025..53e8bbb22 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -987,7 +987,9 @@ sub _create_Window {
if_(!$::isInstall && !$::isWizard, border_width => 5),
#- policy: during install, we need a special code to handle the weird centering, see below
- position_policy => $::isInstall ? 'none' : $no_Window_Manager ? 'center-always' : 'center-on-parent',
+ position_policy => $::isInstall ?
+ ($opts->{transient_for} ? 'center-always' : 'none') :
+ $no_Window_Manager ? 'center-always' : 'center-on-parent',
if_($::isInstall, position => [
$::rootwidth + $::stepswidth - ($::o->{windowwidth} + $::real_windowwidth) / 2,