summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-02-06 19:47:39 +0000
committerChris Lumens <clumens@redhat.com>2007-02-06 19:47:39 +0000
commit43ea1dc0434297b28076bde38e4fcdd407bf3491 (patch)
treea92c8490e7ac375846c5e6f84026271ea194379a
parent342a86a729b215f127c6c327946832eeab30a13e (diff)
downloadanaconda-43ea1dc0434297b28076bde38e4fcdd407bf3491.tar.gz
anaconda-43ea1dc0434297b28076bde38e4fcdd407bf3491.tar.xz
anaconda-43ea1dc0434297b28076bde38e4fcdd407bf3491.zip
Sort detailed package listing.
-rw-r--r--ChangeLog3
-rw-r--r--textw/grpselect_text.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index aeb14ffee..893406f44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,9 @@
* loader/net.c (kickstartNetworkUp): If the wrong interface is
picked, allow going back to the interface selection screen (#213787).
+ * textw/grpselect_text.py (GroupSelectionWindow.__call__): Sort
+ detailed package listing.
+
2007-02-01 Chris Lumens <clumens@redhat.com>
* anaconda: Pass the class to xsetup.
diff --git a/textw/grpselect_text.py b/textw/grpselect_text.py
index 50e0b87f8..ebc676f7c 100644
--- a/textw/grpselect_text.py
+++ b/textw/grpselect_text.py
@@ -2,7 +2,7 @@
# grpselect_text - Text mode group/package selection UI
#
# Jeremy Katz <katzj@redhat.com>
-# Copyright 2005-2006 Red Hat, Inc.
+# Copyright 2005-2007 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# general public license.
@@ -129,6 +129,7 @@ class GroupSelectionWindow:
gct = CheckboxTree(height = 8, scroll = 1)
orig = {}
+ pkgs.sort()
for pkg in pkgs:
orig[pkg] = self.ayum.isPackageInstalled(pkg)
gct.append("%s" %(pkg,), pkg, orig[pkg])