diff options
| author | glatzor@ubuntu.com <> | 2006-09-12 15:18:43 +0200 |
|---|---|---|
| committer | glatzor@ubuntu.com <> | 2006-09-12 15:18:43 +0200 |
| commit | 659868a2c75856e1bb51ceb2e8ebee52e6f3d820 (patch) | |
| tree | 2abc7bae3b79e4a4633555e13f01530fe90c5a21 /SoftwareProperties/SoftwareProperties.py | |
| parent | 9204b32c986dabe44ae755f5a665314187891c42 (diff) | |
| download | python-apt-659868a2c75856e1bb51ceb2e8ebee52e6f3d820.tar.gz | |
* Remove the obsolete Enabled property completely from the code
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 4 |
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 |
