From a9ad53babcfa3a4d68b3f2b6c76386b137f7b7b8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 19 Sep 2007 13:45:42 +0000 Subject: (do_search) simplify with new statusbar_msg() semantics --- rpmdrake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpmdrake b/rpmdrake index d4584dfe..3d1e7281 100755 --- a/rpmdrake +++ b/rpmdrake @@ -140,8 +140,7 @@ sub do_search($$$$$$$) { $tree->expand_row($path, 0); $tree->scroll_to_cell($path, undef, 1, 0.5, 0); } else { - my $wait = statusbar_msg(N("Search results (none)")); - Glib::Timeout->add(5000, sub { statusbar_msg_remove($wait); 0 }); + my $wait = statusbar_msg(N("Search results (none)"), 1); gtkset_mousecursor_normal($::w->{rwindow}->window); } } -- cgit v1.2.1