summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-25 16:34:36 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-25 16:34:36 +0000
commitbed216e8d16585d6b6de646e9820b957754e661e (patch)
tree598cfe9b9314d28f778e3acd5b33394c7b41b324
parent49b77ad80943d46c3d98bdfd3840f7ad6e4ad3e1 (diff)
downloaddrakx-bed216e8d16585d6b6de646e9820b957754e661e.tar
drakx-bed216e8d16585d6b6de646e9820b957754e661e.tar.gz
drakx-bed216e8d16585d6b6de646e9820b957754e661e.tar.bz2
drakx-bed216e8d16585d6b6de646e9820b957754e661e.tar.xz
drakx-bed216e8d16585d6b6de646e9820b957754e661e.zip
do not force all windows to be modal at install time since it causes
issues with matchbox window manager modality got forced in r210547 on 2005-01-11 while switching to mygtk2 which collapsed two code paths in ones whereas one wasn't setting modality ('create "MagicWindow" in mygtk2 out of ugtk2::new()')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index af57778c0..20fb36bec 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -735,7 +735,7 @@ sub new {
$::isInstall ? (banner => Gtk2::Banner->new($icon, $title || (get_default_step_items()))) : (),
$::isStandalone && $banner_title && $icon ? (banner => Gtk2::Banner->new($icon, $banner_title)) : (),
width => $opts{width}, height => $opts{height}, default_width => $opts{default_width}, default_height => $opts{default_height},
- modal => $opts{modal} || $grab || $o->{grab} || $o->{modal},
+ modal => $o->{pop_it} && ($opts{modal} || $grab || $o->{grab}) || $o->{modal},
no_Window_Manager => exists $opts{no_Window_Manager} ? $opts{no_Window_Manager} : !$::isStandalone,
if_(!$::isInstall, icon_no_error => wm_icon()),
if_($o->{transient}, transient_for => $o->{transient}),