summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;