diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-09-16 19:50:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-09-16 19:50:38 +0000 |
commit | 27f081a314e8c2edfc7488b2f80d73513815f0a2 (patch) | |
tree | 3802aaf3de217529ff47275fcfd9c9faefc936b3 /perl-install | |
parent | 4949d37f2de654c8f0cc92f4ce52ee2c8d802813 (diff) | |
download | drakx-backup-do-not-use-27f081a314e8c2edfc7488b2f80d73513815f0a2.tar drakx-backup-do-not-use-27f081a314e8c2edfc7488b2f80d73513815f0a2.tar.gz drakx-backup-do-not-use-27f081a314e8c2edfc7488b2f80d73513815f0a2.tar.bz2 drakx-backup-do-not-use-27f081a314e8c2edfc7488b2f80d73513815f0a2.tar.xz drakx-backup-do-not-use-27f081a314e8c2edfc7488b2f80d73513815f0a2.zip |
(wait_msg) workaround gtk+ not displaying subdialog contents
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/draksec | 4 |
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; } |