aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-19 13:45:42 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-19 13:45:42 +0000
commita9ad53babcfa3a4d68b3f2b6c76386b137f7b7b8 (patch)
tree9b520940cbe5e0ba2e2f33463a176eaf88a43ab6
parentc84371973132b4609fead8a39849f9e5ba9ccabb (diff)
downloadrpmdrake-a9ad53babcfa3a4d68b3f2b6c76386b137f7b7b8.tar
rpmdrake-a9ad53babcfa3a4d68b3f2b6c76386b137f7b7b8.tar.gz
rpmdrake-a9ad53babcfa3a4d68b3f2b6c76386b137f7b7b8.tar.bz2
rpmdrake-a9ad53babcfa3a4d68b3f2b6c76386b137f7b7b8.tar.xz
rpmdrake-a9ad53babcfa3a4d68b3f2b6c76386b137f7b7b8.zip
(do_search) simplify with new statusbar_msg() semantics
-rwxr-xr-xrpmdrake3
1 files changed, 1 insertions, 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);
}
}