diff options
| author | Sebastian Heinlein <sebi@sebi-laptop> | 2006-11-23 18:02:35 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-laptop> | 2006-11-23 18:02:35 +0100 |
| commit | ee8317343ad726571d5f6ad863ee0b27d58251e5 (patch) | |
| tree | c0d5f55fce84d33a6d9f6c121621c9447c21d067 | |
| parent | ded25616ce587766423adce6d5e1c7a215627a98 (diff) | |
| download | python-apt-ee8317343ad726571d5f6ad863ee0b27d58251e5.tar.gz | |
* fix the translation of the country name in the server selector
* fix d'n'd and mime handling of sources.list files
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 4 | ||||
| -rw-r--r-- | SoftwareProperties/dialog_add_sources_list.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index 983a8cce..a3f0c340 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -317,8 +317,8 @@ class SoftwareProperties(SimpleGladeApp): self.distro.main_server]) if self.distro.country != None: # TRANSLATORS: %s is a country - server_store.append([_("Server for %s") % gettext.dgettext("iso-3166", - self.distro.country).rstrip(), + server_store.append([_("Server for %s") % gettext.dgettext("iso_3166", + self.distro.country.rstrip()).rstrip(), self.distro.nearest_server]) else: server_store.append([_("Nearest server"), diff --git a/SoftwareProperties/dialog_add_sources_list.py b/SoftwareProperties/dialog_add_sources_list.py index 3b581c6c..509a77b2 100644 --- a/SoftwareProperties/dialog_add_sources_list.py +++ b/SoftwareProperties/dialog_add_sources_list.py @@ -122,6 +122,6 @@ class AddSourcesList: class SingleSourcesList(SourcesList): def __init__(self, file): - self.matcher = SourceEntryMatcher() + self.matcher = SourceEntryMatcher("/usr/share/update-manager/channels/") self.list = [] self.load(file) |
