summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-09 17:53:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-09 17:53:30 +0000
commit572dabbb04a852395e70a60c8820462ce971341e (patch)
treefa5114fd03d9c5470f7442bed04607e7ca5cae17 /perl-install/mygtk2.pm
parentec6816466c7da0356e5165ebccede5ca9b8aa0f9 (diff)
downloaddrakx-572dabbb04a852395e70a60c8820462ce971341e.tar
drakx-572dabbb04a852395e70a60c8820462ce971341e.tar.gz
drakx-572dabbb04a852395e70a60c8820462ce971341e.tar.bz2
drakx-572dabbb04a852395e70a60c8820462ce971341e.tar.xz
drakx-572dabbb04a852395e70a60c8820462ce971341e.zip
(_gtk_any_Window) make all windows be "dialog" during installation, so
that gurpmi.addmedia during install displays nicely
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 0d69f712e..9f5310849 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -656,7 +656,7 @@ sub _gtk_any_Window {
$w = "Gtk2::$class"->new;
}
- if ($::isInstall) {
+ if ($::isInstall || $ENV{DURING_INSTALL}) {
$w->set_type_hint('dialog'); # for matchbox window manager
}