[gnome-dvb-daemon] Added additional countries for dvb-c initial tuning data



commit 03c8e59b48ea291807c6e676d713efc6a1700027
Author: Sebastian PÃlsterl <sebp k-d-w org>
Date:   Mon Oct 10 11:55:27 2011 +0200

    Added additional countries for dvb-c initial tuning data
    
    Czech Republic, Denmark, Spain, France, Hungary, Luxemburg

 .../ui/wizard/pages/InitialTuningDataPage.py       |   26 ++++++++++++++++----
 1 files changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/client/gnomedvb/ui/wizard/pages/InitialTuningDataPage.py b/client/gnomedvb/ui/wizard/pages/InitialTuningDataPage.py
index f9343d4..e12fc5e 100644
--- a/client/gnomedvb/ui/wizard/pages/InitialTuningDataPage.py
+++ b/client/gnomedvb/ui/wizard/pages/InitialTuningDataPage.py
@@ -106,6 +106,23 @@ COUNTRIES_DVB_T = (
     "vn",
 )
 
+COUNTRIES_DVB_C = (
+    "at",
+    "be",
+    "ch",
+    "cz",
+    "de",
+    "dk",
+    "es",
+    "fi",
+    "fr",
+    "hu",
+    "lu",
+    "nl",
+    "no",
+    "se",
+)
+
 class InitialTuningDataPage(BasePage):
     
     __gsignals__ = {
@@ -257,18 +274,17 @@ class InitialTuningDataPage(BasePage):
         
     def setup_dvb_c(self):
         countries = {}
-        country_codes = ("at", "be", "ch", "de", "fi", "lu", "nl", "se", "no",)
         t = gettext.translation("iso_3166", fallback=True)
-        for lang in country_codes:
+        for lang in COUNTRIES_DVB_C:
             countries[lang] = t.ugettext(COUNTRIES[lang])
-            
+
         self._create_table()
-            
+
         country = Gtk.Label()
         country.set_markup_with_mnemonic(_("_Country:"))
         country.show()
         self.table.attach(country, 0, 1, 0, 1, yoptions=0, xoptions=Gtk.AttachOptions.FILL)
-    
+
         self.countries = Gtk.ListStore(str, str)
         self.countries.set_sort_column_id(0, Gtk.SortType.ASCENDING)
         self.countries.set_sort_func(0, self.combobox_sort_func, None)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]