diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-09 17:51:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-09 17:51:20 +0000 |
commit | 8245e400349df9a77251e7dc1f37999687e0f2ca (patch) | |
tree | fd27b8d568eb7a8ee846c9e39edd3b5872fe2fb8 /perl-install/mygtk2.pm | |
parent | 1d2aeeaa1a3be3b30967b07f53a234be933893dd (diff) | |
download | drakx-8245e400349df9a77251e7dc1f37999687e0f2ca.tar drakx-8245e400349df9a77251e7dc1f37999687e0f2ca.tar.gz drakx-8245e400349df9a77251e7dc1f37999687e0f2ca.tar.bz2 drakx-8245e400349df9a77251e7dc1f37999687e0f2ca.tar.xz drakx-8245e400349df9a77251e7dc1f37999687e0f2ca.zip |
(_gtk_any_Window) revert r244559 from pixel on 2008-09-01 which cause
maximize & minimize buttons to disappear with gnome in standalone mode
(#43540); was:
"- libDrakX:
o make all windows are "dialog", so that gurpmi.addmedia during install
displays nicely"
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index d5aea3fa9..0d69f712e 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -656,7 +656,9 @@ sub _gtk_any_Window { $w = "Gtk2::$class"->new; } - $w->set_type_hint('dialog'); # for matchbox window manager + if ($::isInstall) { + $w->set_type_hint('dialog'); # for matchbox window manager + } $w->set_modal(delete $opts->{modal}) if exists $opts->{modal}; $opts->{transient_for} ||= $::main_window if $::main_window; |