diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 21:21:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 21:21:53 +0000 |
commit | acc76c2ac5fd1aeea737b0b0e03518a936796d33 (patch) | |
tree | 889147fbd4ebac19a4a027e8343e0cfe284006d3 /Rpmdrake | |
parent | 78538fce01546795f0ba5776e2fa63a7353ed428 (diff) | |
download | rpmdrake-acc76c2ac5fd1aeea737b0b0e03518a936796d33.tar rpmdrake-acc76c2ac5fd1aeea737b0b0e03518a936796d33.tar.gz rpmdrake-acc76c2ac5fd1aeea737b0b0e03518a936796d33.tar.bz2 rpmdrake-acc76c2ac5fd1aeea737b0b0e03518a936796d33.tar.xz rpmdrake-acc76c2ac5fd1aeea737b0b0e03518a936796d33.zip |
(build_tree,run_treeview_dialog) do the sort when filling in the tree
in "by_group" mode rather than setting it as a tree propriety (needed
before resurecting flat mode)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index fa211588..ffe4fe04 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -865,7 +865,7 @@ or you already installed all of them.")); #- we populate all the groups tree at first %$elems = (); # better loop on packages, create groups tree and push packages in the proper place: - foreach my $pkg (@elems) { + foreach my $pkg (sort @elems) { my $grp = $pkg->[1]; add_parent($grp); $elems->{$grp} ||= []; |