diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 21:11:30 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 21:11:30 +0000 |
commit | 8c12cc1b360fad7c36f2f2a2435bb2457c630db3 (patch) | |
tree | 5f7d1cb7a162e54f432a067e04fc4cdb3d62d86b | |
parent | f821deebc7430530adcad45e2316bec90d971f78 (diff) | |
download | rpmdrake-8c12cc1b360fad7c36f2f2a2435bb2457c630db3.tar rpmdrake-8c12cc1b360fad7c36f2f2a2435bb2457c630db3.tar.gz rpmdrake-8c12cc1b360fad7c36f2f2a2435bb2457c630db3.tar.bz2 rpmdrake-8c12cc1b360fad7c36f2f2a2435bb2457c630db3.tar.xz rpmdrake-8c12cc1b360fad7c36f2f2a2435bb2457c630db3.zip |
in MandrakeUpdate mode, display a nice explanation message when
the list of updates is void, and also put "(none)" in the list
instead of seeing nothing and wondering if something is broken or
not
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -188,6 +188,10 @@ sub run_treeview_dialog { if ($MODE eq 'update') { @keys = grep { my ($name) = split_fullname($_); member($descriptions->{$name}{importance}, @$mandrakeupdate_wanted_categories) } @keys; + int(@keys) or $add_node->('', _("(none)")), interactive_msg(_("No update"), +_("The list of updates is void. This means that either there is +no available update for the packages installed on your computer, +or you already installed all of them.")); } @elems = map { [ $_, !$flat && ctreefy($pkgs->{$_}{pkg}->group) ] } @keys; } |