From 996dfe3d0204cadf78e4703011fef170b19e100f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 5 Dec 2007 12:30:36 +0000 Subject: (statusbar_msg) ensure message is displayed in status bar instaneously --- rpmdrake.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'rpmdrake.pm') diff --git a/rpmdrake.pm b/rpmdrake.pm index 6b5294eb..c368c001 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -379,6 +379,7 @@ sub statusbar_msg { $::w and $::w->{rwindow} and gtkset_mousecursor_wait($::w->{rwindow}->window); #- returns a msg_id to be passed optionnally to statusbar_msg_remove my $id = $::statusbar->push($cx, $msg); + gtkflush(); Glib::Timeout->add(5000, sub { statusbar_msg_remove($id); 0 }) if $o_timeout; $id; } -- cgit v1.2.1