diff options
| author | Sebastian Heinlein <sebi@sebi-pc> | 2006-09-26 23:55:21 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-pc> | 2006-09-26 23:55:21 +0200 |
| commit | 958de6edfbf38390aa6ee613c9d1d1d70bd5fcb5 (patch) | |
| tree | 3f9e43fec82281848880f83c6d099b2db3622d82 | |
| parent | dd3fbec4f2bb0ecbf237b058f85175c5d0befce9 (diff) | |
| download | python-apt-958de6edfbf38390aa6ee613c9d1d1d70bd5fcb5.tar.gz | |
* Enable the source code too for toggled components
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index 1c8a3425..14ddeefc 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -482,6 +482,9 @@ class SoftwareProperties(SimpleGladeApp): for source in self.distro.child_sources: if source.template == template: self.sourceslist.remove(source) + for source in self.distro.source_code_sources: + if source.template == template: + self.sourceslist.remove(source) else: self.distro.add_source(self.sourceslist, uri=template.base_uri, |
