summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-30 13:20:10 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-30 13:20:10 +0000
commite4c77f00f02c4a107f7c5e6eb5d1fbcdab91237a (patch)
treed3f104ec9fdd4252d9d7e78f4b6fb90b13745364
parentb1b008ce8376d14ac69ffd52d48d51fc230cbf68 (diff)
downloaddrakx-e4c77f00f02c4a107f7c5e6eb5d1fbcdab91237a.tar
drakx-e4c77f00f02c4a107f7c5e6eb5d1fbcdab91237a.tar.gz
drakx-e4c77f00f02c4a107f7c5e6eb5d1fbcdab91237a.tar.bz2
drakx-e4c77f00f02c4a107f7c5e6eb5d1fbcdab91237a.tar.xz
drakx-e4c77f00f02c4a107f7c5e6eb5d1fbcdab91237a.zip
(_gtk_any_Window) set 'dialog' hint for matchbox at install time
-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};