aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-17 21:21:53 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-17 21:21:53 +0000
commitacc76c2ac5fd1aeea737b0b0e03518a936796d33 (patch)
tree889147fbd4ebac19a4a027e8343e0cfe284006d3 /Rpmdrake
parent78538fce01546795f0ba5776e2fa63a7353ed428 (diff)
downloadrpmdrake-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.pm2
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} ||= [];