aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-03 16:00:16 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-03 16:00:16 +0000
commitf77388e55fc7c40d13409b7b9c4b6c0dd632f491 (patch)
treeb82f95ec7a8e055977ffaf2787f4e1f0b19d1c26
parent5a7739ecb2137ad59b4f39e05ff9996ee311ea1c (diff)
downloadrpmdrake-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--NEWS4
-rw-r--r--Rpmdrake/gurpm.pm4
2 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c6234672..e2ef495b 100644
--- a/NEWS
+++ b/NEWS
@@ -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;
}