summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/mygtk2.pm4
2 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 27b2f77bd..cb4e11ac9 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- fix missing maximize & minimize buttons with gnome WM (#43540) by
+ reverting change from 2008-09-01: "make all windows are "dialog", so
+ that gurpmi.addmedia during install displays nicely"
- diskdrake
o keep current UUID when formatting ext2/ext3 (was already done for swap),
so that fstab on other distros continue to work (#39913)
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;