From 958de6edfbf38390aa6ee613c9d1d1d70bd5fcb5 Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Tue, 26 Sep 2006 23:55:21 +0200 Subject: * Enable the source code too for toggled components --- SoftwareProperties/SoftwareProperties.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'SoftwareProperties/SoftwareProperties.py') 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, -- cgit v1.2.3