From e4c77f00f02c4a107f7c5e6eb5d1fbcdab91237a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 30 Jul 2008 13:20:10 +0000 Subject: (_gtk_any_Window) set 'dialog' hint for matchbox at install time --- perl-install/mygtk2.pm | 4 ++++ 1 file changed, 4 insertions(+) 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}; -- cgit v1.2.1