From f77388e55fc7c40d13409b7b9c4b6c0dd632f491 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Apr 2009 16:00:16 +0000 Subject: (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) --- Rpmdrake/gurpm.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rpmdrake/gurpm.pm') 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; } -- cgit v1.2.1