summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-20 18:58:32 +0000
committerChris Lumens <clumens@redhat.com>2006-07-20 18:58:32 +0000
commitc3d9ffabe425e153a8e14cfaf4496ca3ab83e102 (patch)
treef25c591fa6edf3fb96b829a3112401cb8acf103d
parent1a80f52401c73efe82aab910f5e0cf8b1735e642 (diff)
downloadanaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.tar.gz
anaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.tar.xz
anaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.zip
Fix text package selection/deselection (#186043).
-rw-r--r--ChangeLog3
-rw-r--r--textw/grpselect_text.py8
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 971276f5b..4a325a1b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
(#199076).
* textw/timezone_text.py: Likewise.
+ * textw/grpselect_text.py: Fix text package selection/deselection
+ (#186043).
+
2006-07-20 Jeremy Katz <katzj@redhat.com>
* iw/partition_ui_helpers_gui.py (createAllowedDrivesStore): Reset
diff --git a/textw/grpselect_text.py b/textw/grpselect_text.py
index b06c790fb..913a754e0 100644
--- a/textw/grpselect_text.py
+++ b/textw/grpselect_text.py
@@ -143,10 +143,10 @@ class GroupSelectionWindow:
# reflect new packages selected
selected = gct.getSelection()
for (opkg, osel) in orig.items():
- if pkg in selected and not osel:
- self.__selectPackage(grp, pkg)
- elif pkg not in selected and osel:
- self.__deselectPackage(grp, pkg)
+ if opkg in selected and not osel:
+ self.__selectPackage(grp, opkg)
+ elif opkg not in selected and osel:
+ self.__deselectPackage(grp, opkg)
rc = bb.buttonPressed(result)
screen.popWindow()