summaryrefslogtreecommitdiff
path: root/SoftwareProperties/SoftwareProperties.py
diff options
context:
space:
mode:
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
-rw-r--r--SoftwareProperties/SoftwareProperties.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py
index a18fec20..f2a2cc19 100644
--- a/SoftwareProperties/SoftwareProperties.py
+++ b/SoftwareProperties/SoftwareProperties.py
@@ -261,7 +261,7 @@ class SoftwareProperties(SimpleGladeApp):
# TRANSLATORS: Label for the components in the Internet section
# first %s is the description of the component
# second %s is the code name of the comp, eg main, universe
- label = _("%s (%s)") % (self.distro.source_template.components[comp][2],
+ label = _("%s (%s)") % (self.distro.source_template.components[comp][1],
comp)
checkbox = gtk.CheckButton(label)
# check if the comp is enabled
@@ -721,7 +721,7 @@ class SoftwareProperties(SimpleGladeApp):
for comp in source.comps:
if source.template.components.has_key(comp):
print source.template.components[comp]
- (desc, enabled, desc_long) = source.template.components[comp]
+ (desc, desc_long) = source.template.components[comp]
contents += "\n%s" % desc
else:
contents += "\n%s" % comp