summaryrefslogtreecommitdiff
path: root/SoftwareProperties/SoftwareProperties.py
diff options
context:
space:
mode:
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
-rw-r--r--SoftwareProperties/SoftwareProperties.py3
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,