summaryrefslogtreecommitdiffstats
path: root/textw/grpselect_text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-04 19:58:53 +0000
committerChris Lumens <clumens@redhat.com>2006-05-04 19:58:53 +0000
commit9e1a444c46abcfc29c2e44ffd102fcc1eda6289e (patch)
treefc10e993fe6c8292fbd0cb57fb6ad4135b0a8fad /textw/grpselect_text.py
parent2d90bc12dcc682a7f0ff68e599cbb81a34a0b4a3 (diff)
downloadanaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.gz
anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.xz
anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.zip
Make all UI steps use anaconda class. Add system-config-keyboard shim.
Diffstat (limited to 'textw/grpselect_text.py')
-rw-r--r--textw/grpselect_text.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/textw/grpselect_text.py b/textw/grpselect_text.py
index fb4b43f7d..3c071f124 100644
--- a/textw/grpselect_text.py
+++ b/textw/grpselect_text.py
@@ -74,8 +74,8 @@ class GroupSelectionWindow:
else:
map(lambda x: x.groups.append(grpid), txmbrs)
- def __call__(self, screen, backend, intf):
- self.ayum = backend.ayum
+ def __call__(self, screen, anaconda):
+ self.ayum = anaconda.backend.ayum
g = GridFormHelp(screen, "Package Group Selection",
"packagetree", 1, 5)
@@ -86,7 +86,7 @@ class GroupSelectionWindow:
# FIXME: this is very yum backend specific...
groups = filter(lambda x: x.user_visible,
- backend.ayum.comps.groups)
+ anaconda.backend.ayum.comps.groups)
groups.sort(_ui_comps_sort)
ct = CheckboxTree(height = 6, scroll = (len(groups) > 6))
for grp in groups:
@@ -155,8 +155,8 @@ class GroupSelectionWindow:
sel = ct.getSelection()
for g in groups:
if g in sel and not g.selected:
- backend.selectGroup(g.groupid)
+ anaconda.backend.selectGroup(g.groupid)
elif g not in sel and g.selected:
- backend.deselectGroup(g.groupid)
+ anaconda.backend.deselectGroup(g.groupid)
return INSTALL_OK