diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 08:58:22 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 08:58:22 +0000 |
commit | 20316a65e54edf982a6d9967ad97eef35055f45b (patch) | |
tree | f80bf086b18087875dbc9281b312532b06ad1771 | |
parent | cce3aceebfe9f2f51de86b58067356526196004a (diff) | |
download | rpmdrake-20316a65e54edf982a6d9967ad97eef35055f45b.tar rpmdrake-20316a65e54edf982a6d9967ad97eef35055f45b.tar.gz rpmdrake-20316a65e54edf982a6d9967ad97eef35055f45b.tar.bz2 rpmdrake-20316a65e54edf982a6d9967ad97eef35055f45b.tar.xz rpmdrake-20316a65e54edf982a6d9967ad97eef35055f45b.zip |
(run_treeview_dialog) be more user-friendly by sorting packages by name
-rwxr-xr-x | rpmdrake | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -669,6 +669,7 @@ sub run_treeview_dialog { } } my $callback = sub { interactive_msg_(N("More information on package..."), $options->{get_info}->($_[0]), scroll => 1) }; + $choices = [ sort { $a->name cmp $b->name } @$choices ]; my @choices = interactive_list_(N("Please choose"), N("One of the following packages is needed:"), [ map { my_fullname($_) } @$choices ], $callback); $choices->[@choices]; |