diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-07-01 15:52:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-07-01 15:52:03 +0000 |
commit | 768ff840572f91e36312a45a38f8ff24ee7de4cd (patch) | |
tree | 365d8ec369922397f141617ab26db5ba251ffcf7 | |
parent | 558cd6bb9d0c2c513e5ab8682cba5e5f55c2561b (diff) | |
download | rpmdrake-768ff840572f91e36312a45a38f8ff24ee7de4cd.tar rpmdrake-768ff840572f91e36312a45a38f8ff24ee7de4cd.tar.gz rpmdrake-768ff840572f91e36312a45a38f8ff24ee7de4cd.tar.bz2 rpmdrake-768ff840572f91e36312a45a38f8ff24ee7de4cd.tar.xz rpmdrake-768ff840572f91e36312a45a38f8ff24ee7de4cd.zip |
(do_search) factorize a string (needed for next commits)
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -64,7 +64,7 @@ sub do_search($$$$$$$) { $entry =~ s/^\s*$//; } my $entry_rx = eval { qr/$entry/i } or return; - my $results_ok = N("Search results"); + my ($results_ok, $results_none) = (N("Search results"), N("Search results (none)")); $options->{delete_category}->($results_ok); $options->{state}{flat} and $options->{delete_all}->(); $tree->collapse_all; @@ -198,6 +198,7 @@ sub do_search($$$$$$$) { } } else { statusbar_msg(N("Search results (none)"), 1); + statusbar_msg($results_none, 1); gtkset_mousecursor_normal($::w->{rwindow}->window); } } |