summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages.py14
-rw-r--r--textw/packages_text.py2
2 files changed, 8 insertions, 8 deletions
diff --git a/packages.py b/packages.py
index cdaef0b22..71f7949e9 100644
--- a/packages.py
+++ b/packages.py
@@ -1005,22 +1005,22 @@ def betaNagScreen(intf, dir):
break
# FIXME: this is a kind of poor way to do this, but it will work for now
-def selectLanguageSupportGroups(id):
- sup = id.langSupport.supported
+def selectLanguageSupportGroups(comps, langSupport):
+ sup = langSupport.supported
if len(sup) == 0:
- sup = id.langSupport.getAllSupported()
+ sup = langSupport.getAllSupported()
- for group in id.comps.compsxml.groups.values():
+ for group in comps.compsxml.groups.values():
for name in sup:
try:
- lang = id.langSupport.langInfoByName[name][0]
+ lang = langSupport.langInfoByName[name][0]
langs = language.expandLangs(lang)
except:
continue
if group.langonly in langs:
- if not id.comps.compsDict.has_key(group.name):
+ if not comps.compsDict.has_key(group.name):
log("Where did the %s component go?"
%(group.name,))
continue
- id.comps.compsDict[group.name].select()
+ comps.compsDict[group.name].select()
diff --git a/textw/packages_text.py b/textw/packages_text.py
index 4ab1766fe..abcebbcf9 100644
--- a/textw/packages_text.py
+++ b/textw/packages_text.py
@@ -39,7 +39,7 @@ class PackageGroupWindow:
label.setText(self.size(comps))
- def __call__(self, screen, comps, dispatch):
+ def __call__(self, screen, comps, langSupport, dispatch):
origSelection = comps.getSelectionState()
ct = CheckboxTree(height = 8, scroll = 1)