diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-07-30 13:20:10 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-07-30 13:20:10 +0000 |
commit | e4c77f00f02c4a107f7c5e6eb5d1fbcdab91237a (patch) | |
tree | d3f104ec9fdd4252d9d7e78f4b6fb90b13745364 /perl-install | |
parent | b1b008ce8376d14ac69ffd52d48d51fc230cbf68 (diff) | |
download | drakx-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
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/mygtk2.pm | 4 |
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}; |