git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sanity checks for the timer
[enigma2.git]
/
lib
/
python
/
Components
/
config.py
diff --git
a/lib/python/Components/config.py
b/lib/python/Components/config.py
index 1486420c22d4f26cc927b84a9e5262b660affe50..040a9ee467fd931bc98f142a064895982c2dfdd0 100644
(file)
--- a/
lib/python/Components/config.py
+++ b/
lib/python/Components/config.py
@@
-77,7
+77,7
@@
class configSelection:
self.checkValues()
self.checkValues()
- self.parent.change()
+ self.parent.change()
def __call__(self, selected): #needed by configlist
self.checkValues()
def __call__(self, selected): #needed by configlist
self.checkValues()
@@
-393,7
+393,7
@@
class configElement:
tcnt = cnt
cnt += 1
if tcnt != -1:
tcnt = cnt
cnt += 1
if tcnt != -1:
- return tcnt
+ return tcnt
return 0 #prevent bigger then array
def datafromFile(self, control, data):
return 0 #prevent bigger then array
def datafromFile(self, control, data):
@@
-469,6
+469,10
@@
class configElement:
self.notifierList = [ ]
self.enabled = True
self.loadData()
self.notifierList = [ ]
self.enabled = True
self.loadData()
+
+ def getConfigPath(self):
+ return self.configPath
+
def addNotifier(self, notifier):
self.notifierList.append(notifier);
notifier(self);
def addNotifier(self, notifier):
self.notifierList.append(notifier);
notifier(self);