diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-08-22 14:11:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-08-22 14:11:03 +0000 |
commit | 02befb2e20d202c921d3eb11e87d6c56329c946e (patch) | |
tree | 7a7296dd1dc7b50ae2b2f0a21afb626a35fbdb08 /perl-install/mygtk2.pm | |
parent | e6f37b08b1b3bd01f6669a43ec221d01bf956054 (diff) | |
download | drakx-02befb2e20d202c921d3eb11e87d6c56329c946e.tar drakx-02befb2e20d202c921d3eb11e87d6c56329c946e.tar.gz drakx-02befb2e20d202c921d3eb11e87d6c56329c946e.tar.bz2 drakx-02befb2e20d202c921d3eb11e87d6c56329c946e.tar.xz drakx-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.pm | 2 |
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 => [ |