summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-19 10:08:01 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-19 10:08:01 +0000
commit91fbb99d255c294114b667c4a365b37c07c88e73 (patch)
tree13bd2eb08702710366bd0e3cafcb517ed69fe35a
parentcc091e6c1e36129797545057ddb5091740447b79 (diff)
downloaddrakx-91fbb99d255c294114b667c4a365b37c07c88e73.tar
drakx-91fbb99d255c294114b667c4a365b37c07c88e73.tar.gz
drakx-91fbb99d255c294114b667c4a365b37c07c88e73.tar.bz2
drakx-91fbb99d255c294114b667c4a365b37c07c88e73.tar.xz
drakx-91fbb99d255c294114b667c4a365b37c07c88e73.zip
prevent unpoped wait messages when called from within wizards in standalone
mode
-rw-r--r--perl-install/interactive/gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 60eb261f0..a657f77c1 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -723,6 +723,7 @@ sub ask_from__add_modify_removeW {
sub wait_messageW($$$) {
my ($o, $title, $messages) = @_;
local $::isEmbedded = 0; # to prevent sub window embedding
+ local $::isWizard = 0 if !$::isInstall; # to prevent sub window embedding
my @l = map { Gtk2::Label->new(scalar warp_text($_)) } @$messages;
my $w = ugtk2->new($title, %$o, grab => 1, if__($::main_window, transient => $::main_window));