From 5fc96d6c234529c1e650d7cd3351f2efa01f5687 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sun, 8 Oct 2006 22:41:18 +0000 Subject: change ConfigDummy to ConfigNothing --- lib/python/Components/NimManager.py | 4 ++-- lib/python/Components/config.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/python/Components') diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 7878b67b..f9b9ff6d 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -1,4 +1,4 @@ -from config import config, ConfigSubsection, ConfigSelection, ConfigFloat, ConfigSatlist, ConfigYesNo, ConfigInteger, ConfigSubList, ConfigDummy, ConfigSubDict +from config import config, ConfigSubsection, ConfigSelection, ConfigFloat, ConfigSatlist, ConfigYesNo, ConfigInteger, ConfigSubList, ConfigNothing, ConfigSubDict from enigma import eDVBSatelliteEquipmentControl, \ eDVBSatelliteLNBParameters as lnbParam, \ @@ -750,7 +750,7 @@ def InitNimManager(nimmgr): ucsw.append((str(y), "Input " + str(y))) nim.advanced.lnb = ConfigSubList() - nim.advanced.lnb.append(ConfigDummy()) + nim.advanced.lnb.append(ConfigNothing()) for x in range(1, 33): nim.advanced.lnb.append(ConfigSubsection()) nim.advanced.lnb[x].lof = ConfigSelection(choices={"universal_lnb": _("Universal LNB"), "c_band": _("C-Band"), "user_defined": _("User defined")}, default="universal_lnb") diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 75035a78..343632db 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -26,6 +26,7 @@ import copy # class ConfigElement(object): def __init__(self): + object.__init__(self) self.saved_value = None self.save_disabled = False @@ -571,7 +572,7 @@ class ConfigSatlist(ConfigSelection): orbital_position = property(getOrbitalPosition) # nothing. -class ConfigDummy(ConfigSelection): +class ConfigNothing(ConfigSelection): def __init__(self): ConfigSelection.__init__(self, choices = [""]) -- cgit v1.2.3