diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-03 16:00:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-03 16:00:16 +0000 |
commit | f77388e55fc7c40d13409b7b9c4b6c0dd632f491 (patch) | |
tree | b82f95ec7a8e055977ffaf2787f4e1f0b19d1c26 | |
parent | 5a7739ecb2137ad59b4f39e05ff9996ee311ea1c (diff) | |
download | rpmdrake-f77388e55fc7c40d13409b7b9c4b6c0dd632f491.tar rpmdrake-f77388e55fc7c40d13409b7b9c4b6c0dd632f491.tar.gz rpmdrake-f77388e55fc7c40d13409b7b9c4b6c0dd632f491.tar.bz2 rpmdrake-f77388e55fc7c40d13409b7b9c4b6c0dd632f491.tar.xz rpmdrake-f77388e55fc7c40d13409b7b9c4b6c0dd632f491.zip |
(new) revert using installer hack that prevents having gray wait
message dialogs on dialog popup in favor of old rgs hack, else (when
not on displayed desktop), it uses too much CPU and waits until it got
the focus (#48912)
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | Rpmdrake/gurpm.pm | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +- revert using installer hack that prevents having gray wait message dialogs on + dialog popup in favor of old rgs hack, else (when not on displayed desktop), + it uses too much CPU and waits until it got the focus (#48912) + Version 5.15 - 1 April 2009, Thierry Vignaud - kill --no-splash option (useless since 4.17 (do not display a splash diff --git a/Rpmdrake/gurpm.pm b/Rpmdrake/gurpm.pm index f3337cf3..a148d7c1 100644 --- a/Rpmdrake/gurpm.pm +++ b/Rpmdrake/gurpm.pm @@ -45,10 +45,10 @@ sub new { $mainw->{label}, $mainw->{progressbar} ])); - mygtk2::enable_sync_flush($mainw->{rwindow}); $mainw->{rwindow}->set_position('center-on-parent'); $mainw->{real_window}->show_all; - mygtk2::sync_flush($mainw->{rwindow}); + select(undef, undef, undef, 0.1); #- hackish :-( + $mainw->SUPER::sync; $mainw; } |