git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add \n to separate devices
[enigma2.git]
/
lib
/
python
/
Components
/
GUISkin.py
diff --git
a/lib/python/Components/GUISkin.py
b/lib/python/Components/GUISkin.py
index 982cce317dbd74325727ceb8ad80b2e8db6df78d..cf8e1894bf50b8dde0a9cfe201c6183adbd1bde2 100644
(file)
--- a/
lib/python/Components/GUISkin.py
+++ b/
lib/python/Components/GUISkin.py
@@
-16,11
+16,16
@@
class GUISkin:
for w in self.additionalWidgets:
w.instance = w.widget(parent)
for w in self.additionalWidgets:
w.instance = w.widget(parent)
- w.instance.thisown = 0
+
#
w.instance.thisown = 0
applyAllAttributes(w.instance, desktop, w.skinAttributes)
for f in self.onLayoutFinish:
applyAllAttributes(w.instance, desktop, w.skinAttributes)
for f in self.onLayoutFinish:
- exec(f) in globals(), locals()
+ if type(f) is not type(self.close): # is this the best way to do this?
+ exec(f) in globals(), locals()
+ else:
+ f()
+
+
def deleteGUIScreen(self):
for (name, val) in self.items():
def deleteGUIScreen(self):
for (name, val) in self.items():