aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-12-05 12:30:36 +0000
committerThierry Vignaud <tv@mandriva.org>2007-12-05 12:30:36 +0000
commit996dfe3d0204cadf78e4703011fef170b19e100f (patch)
tree889c53e62509b6786a2934563d2230154733c918 /rpmdrake.pm
parent76822225adb274a3ba26ed64b2bb9d762bc9d8c8 (diff)
downloadrpmdrake-996dfe3d0204cadf78e4703011fef170b19e100f.tar
rpmdrake-996dfe3d0204cadf78e4703011fef170b19e100f.tar.gz
rpmdrake-996dfe3d0204cadf78e4703011fef170b19e100f.tar.bz2
rpmdrake-996dfe3d0204cadf78e4703011fef170b19e100f.tar.xz
rpmdrake-996dfe3d0204cadf78e4703011fef170b19e100f.zip
(statusbar_msg) ensure message is displayed in status bar instaneously
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm1
1 files changed, 1 insertions, 0 deletions
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;
}