diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-06-16 18:30:27 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-06-16 18:30:27 +0200 |
| commit | a9f871b933a8771d6946395df1e1f0569b3cf582 (patch) | |
| tree | fe48ffbc80ff077138281b6602492d8cbc902994 /lib/python/Components/GUISkin.py | |
| parent | 9a2b8cd197039db5a4324149dcf6e817171166bf (diff) | |
| parent | 883a9c93798e01fc2825673799f48bf2a0a68d15 (diff) | |
| download | enigma2-a9f871b933a8771d6946395df1e1f0569b3cf582.tar.gz enigma2-a9f871b933a8771d6946395df1e1f0569b3cf582.zip | |
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components/GUISkin.py')
| -rw-r--r-- | lib/python/Components/GUISkin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/GUISkin.py b/lib/python/Components/GUISkin.py index 9eb4a80b..1bd27297 100644 --- a/lib/python/Components/GUISkin.py +++ b/lib/python/Components/GUISkin.py @@ -85,6 +85,9 @@ class GUISkin: if not self.instance: from enigma import eWindow self.instance = eWindow(self.desktop, z) + + # we need to make sure that certain attributes come last + self.skinAttributes.sort(key=lambda a: {"position": 1}.get(a[0], 0)) self.title = title applyAllAttributes(self.instance, self.desktop, self.skinAttributes, self.scale) self.createGUIScreen(self.instance, self.desktop) |
