From 02befb2e20d202c921d3eb11e87d6c56329c946e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 22 Aug 2008 14:11:03 +0000 Subject: 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) --- perl-install/mygtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/mygtk2.pm') 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 => [ -- cgit v1.2.1