aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-25 07:03:06 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-25 07:03:06 +0000
commit04ee2e8917d212c4ebec076ae10acb70f5172715 (patch)
tree3e165914d1e5463ab100c849f0559488f8014efc
parent74a43ee2fea5bf50edcba651430ffe74181e921a (diff)
downloadrpmdrake-04ee2e8917d212c4ebec076ae10acb70f5172715.tar
rpmdrake-04ee2e8917d212c4ebec076ae10acb70f5172715.tar.gz
rpmdrake-04ee2e8917d212c4ebec076ae10acb70f5172715.tar.bz2
rpmdrake-04ee2e8917d212c4ebec076ae10acb70f5172715.tar.xz
rpmdrake-04ee2e8917d212c4ebec076ae10acb70f5172715.zip
(do_search) remove not found messages from status bar after 5 seconds (#32332)
-rwxr-xr-xrpmdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index b0aaf19d..2a64a1fc 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -150,7 +150,8 @@ sub do_search($$$$$$$) {
$tree->expand_row($path, 0);
$tree->scroll_to_cell($path, undef, 1, 0.5, 0);
} else {
- statusbar_msg(N("Search results (none)"));
+ my $wait = statusbar_msg(N("Search results (none)"));
+ Glib::Timeout->add(5000, sub { statusbar_msg_remove($wait); 0 });
gtkset_mousecursor_normal($::w->{rwindow}->window);
}
}