summaryrefslogtreecommitdiff
path: root/SoftwareProperties/SoftwareProperties.py
diff options
context:
space:
mode:
authorglatzor@ubuntu.com <>2006-07-22 12:26:41 +0200
committerglatzor@ubuntu.com <>2006-07-22 12:26:41 +0200
commit461a996561636856d91627a67c7e432bf03543e5 (patch)
treebe1360ea262702530eeddfbbd8e230fcec634685 /SoftwareProperties/SoftwareProperties.py
parentf5acaf7e44c59fd542e7dc40549a519a08a39a8a (diff)
downloadpython-apt-461a996561636856d91627a67c7e432bf03543e5.tar.gz
* introduce a default_server that can be reused by adding sources
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
-rw-r--r--SoftwareProperties/SoftwareProperties.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py
index d920b693..f9af3a58 100644
--- a/SoftwareProperties/SoftwareProperties.py
+++ b/SoftwareProperties/SoftwareProperties.py
@@ -366,6 +366,7 @@ class SoftwareProperties(SimpleGladeApp):
# FIXME: ugly
if not "security.ubuntu.com" in source.uri:
source.uri = uri_selected
+ self.distro.ddefault_server = uri_selected
self.modified_sourceslist()
def on_component_toggled(self, checkbutton, comp):