aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gurpm.pm
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 /Rpmdrake/gurpm.pm
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)
Diffstat (limited to 'Rpmdrake/gurpm.pm')
-rw-r--r--Rpmdrake/gurpm.pm4
1 files changed, 2 insertions, 2 deletions
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;
}