summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-09 17:51:20 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-09 17:51:20 +0000
commit8245e400349df9a77251e7dc1f37999687e0f2ca (patch)
treefd27b8d568eb7a8ee846c9e39edd3b5872fe2fb8 /perl-install/mygtk2.pm
parent1d2aeeaa1a3be3b30967b07f53a234be933893dd (diff)
downloaddrakx-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.pm4
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;