summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
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;