diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-10-08 22:41:18 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-10-08 22:41:18 +0000 |
| commit | 5fc96d6c234529c1e650d7cd3351f2efa01f5687 (patch) | |
| tree | 38be7bbae5474201a24b47371d5663186170e724 /lib/python/Components | |
| parent | 21ef24675a83e78934de665d2a5511141c8e6cf1 (diff) | |
| download | enigma2-5fc96d6c234529c1e650d7cd3351f2efa01f5687.tar.gz enigma2-5fc96d6c234529c1e650d7cd3351f2efa01f5687.zip | |
change ConfigDummy to ConfigNothing
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/NimManager.py | 4 | ||||
| -rw-r--r-- | lib/python/Components/config.py | 3 |
2 files changed, 4 insertions, 3 deletions
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 = [""]) |
