git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'bug_713_fix_timerlist_sort'
[enigma2.git]
/
lib
/
python
/
Components
/
PluginComponent.py
diff --git
a/lib/python/Components/PluginComponent.py
b/lib/python/Components/PluginComponent.py
index 93b089001630cf5d4841e29cf21c9447b6a885e0..c6ad584f328f778c05d2ebaba77539695f69c4c9 100755
(executable)
--- a/
lib/python/Components/PluginComponent.py
+++ b/
lib/python/Components/PluginComponent.py
@@
-122,8
+122,8
@@
class PluginComponent:
for x in where:
res.extend(self.plugins.get(x, [ ]))
-
- return
res
+ res.sort(key=lambda x:x.weight)
+ return res
def getPluginsForMenu(self, menuid):
res = [ ]