summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mygtk2.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index b8bec3b43..dbb7a02e6 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -602,6 +602,10 @@ sub _gtk_any_Window {
$w = "Gtk2::$class"->new;
}
+ if ($::isInstall) {
+ $w->set_type_hint('dialog'); # for matchbox window manager
+ }
+
$w->set_modal(1) if exists $opts->{transient_for};
$w->set_modal(delete $opts->{modal}) if exists $opts->{modal};
$w->set_transient_for(delete $opts->{transient_for}) if exists $opts->{transient_for};