From 830f868936102c3d7e40c6bee47be99c2d401a0d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 1 Sep 2008 08:44:06 +0000 Subject: - libDrakX: o make all windows are "dialog", so that gurpmi.addmedia during install displays nicely --- perl-install/NEWS | 4 ++++ perl-install/mygtk2.pm | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 91e2140c2..682f3d246 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,7 @@ +- libDrakX: + o make all windows are "dialog", so that gurpmi.addmedia during install + displays nicely + Version 11.29 - 29 August 2008 - finish-install: diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 4dd5655ad..a8d67e0ab 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -643,9 +643,7 @@ sub _gtk_any_Window { $w = "Gtk2::$class"->new; } - if ($::isInstall) { - $w->set_type_hint('dialog'); # for matchbox window manager - } + $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; -- cgit v1.2.1