summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-08-22 14:11:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-08-22 14:11:03 +0000
commit02befb2e20d202c921d3eb11e87d6c56329c946e (patch)
tree7a7296dd1dc7b50ae2b2f0a21afb626a35fbdb08 /perl-install/mygtk2.pm
parente6f37b08b1b3bd01f6669a43ec221d01bf956054 (diff)
downloaddrakx-backup-do-not-use-02befb2e20d202c921d3eb11e87d6c56329c946e.tar
drakx-backup-do-not-use-02befb2e20d202c921d3eb11e87d6c56329c946e.tar.gz
drakx-backup-do-not-use-02befb2e20d202c921d3eb11e87d6c56329c946e.tar.bz2
drakx-backup-do-not-use-02befb2e20d202c921d3eb11e87d6c56329c946e.tar.xz
drakx-backup-do-not-use-02befb2e20d202c921d3eb11e87d6c56329c946e.zip
center all modal windows during install (since the background is greyed, we
don't want to center on the right part, but on the full display)
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index d3fc4701e..203254aec 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1002,7 +1002,7 @@ sub _create_Window {
#- policy: during install, we need a special code to handle the weird centering, see below
position_policy => $::isInstall ?
- ($opts->{transient_for} ? 'center-always' : 'none') :
+ ($opts->{modal} ? 'center-always' : 'none') :
$no_Window_Manager ? 'center-always' : 'center-on-parent',
if_($::isInstall, position => [