diff options
author | Chris Lumens <clumens@redhat.com> | 2006-07-20 18:58:32 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-07-20 18:58:32 +0000 |
commit | c3d9ffabe425e153a8e14cfaf4496ca3ab83e102 (patch) | |
tree | f25c591fa6edf3fb96b829a3112401cb8acf103d | |
parent | 1a80f52401c73efe82aab910f5e0cf8b1735e642 (diff) | |
download | anaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.tar.gz anaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.tar.xz anaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.zip |
Fix text package selection/deselection (#186043).
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | textw/grpselect_text.py | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -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() |