diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-11 11:18:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-11 11:18:13 +0000 |
commit | b0729c6d493e440cd9003f994cec9f5144957d2c (patch) | |
tree | 25e539bce78053f2092a0e86e1dddb0d96a26ddd /perl-install/interactive | |
parent | ea09b6383c6468fb513d10f199168e8106d097a0 (diff) | |
download | drakx-backup-do-not-use-b0729c6d493e440cd9003f994cec9f5144957d2c.tar drakx-backup-do-not-use-b0729c6d493e440cd9003f994cec9f5144957d2c.tar.gz drakx-backup-do-not-use-b0729c6d493e440cd9003f994cec9f5144957d2c.tar.bz2 drakx-backup-do-not-use-b0729c6d493e440cd9003f994cec9f5144957d2c.tar.xz drakx-backup-do-not-use-b0729c6d493e440cd9003f994cec9f5144957d2c.zip |
(enable_sync_flush,sync_flush) split them out of wait_messageW() so that
rpmdrake can get rid of some gray windows
Diffstat (limited to 'perl-install/interactive')
-rw-r--r-- | perl-install/interactive/gtk.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 0a1cef4a2..2dea19599 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -912,9 +912,9 @@ sub wait_messageW { if_(ref($message_modifiable), 0, $message_modifiable), ]), ); - $Window->signal_connect(expose_event => sub { $Window->{displayed} = 1; 0 }); + mygtk2::enable_sync_flush($Window); $Window->{wait_messageW} = $to_modify; - mygtk2::sync($Window) while !$Window->{displayed}; + mygtk2::sync_flush($Window); $Window; } sub wait_message_nextW { |