summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/mygtk2.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 991c978db..ab5d1133b 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -2,6 +2,8 @@
o fix missing maximize & minimize buttons with gnome WM (#43540) by
reverting change from 2008-09-01: "make all windows are "dialog",
so that gurpmi.addmedia during install displays nicely"
+ o make all windows be "dialog" during install, so that
+ gurpmi.addmedia during install displays nicely
- diskdrake
o keep current UUID when formatting ext2/ext3 (was already done for swap),
so that fstab on other distros continue to work (#39913)
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
}