summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-09-16 19:50:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-09-16 19:50:38 +0000
commit27f081a314e8c2edfc7488b2f80d73513815f0a2 (patch)
tree3802aaf3de217529ff47275fcfd9c9faefc936b3 /perl-install/standalone
parent4949d37f2de654c8f0cc92f4ce52ee2c8d802813 (diff)
downloaddrakx-27f081a314e8c2edfc7488b2f80d73513815f0a2.tar
drakx-27f081a314e8c2edfc7488b2f80d73513815f0a2.tar.gz
drakx-27f081a314e8c2edfc7488b2f80d73513815f0a2.tar.bz2
drakx-27f081a314e8c2edfc7488b2f80d73513815f0a2.tar.xz
drakx-27f081a314e8c2edfc7488b2f80d73513815f0a2.zip
(wait_msg) workaround gtk+ not displaying subdialog contents
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksec4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 4e352a347..ab0d624a3 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -69,7 +69,9 @@ sub wait_msg {
$mainw->{window}->add(Gtk2::WrappedLabel->new($_[0]));
$mainw->{rwindow}->show_all;
gtkset_mousecursor_wait($mainw->{rwindow}->window);
- gtkflush();
+ # ugly workaround for gtk+ not displaying subdialog contents:
+ Glib::Timeout->add(300, sub { print "EXITING"; Gtk2->main_quit; 0 });
+ Gtk2->main;
$mainw;
}