git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plugin api change: Plugins() and main functions must receive (and possibly ignore...
[enigma2.git]
/
lib
/
python
/
Plugins
/
Plugin.py
diff --git
a/lib/python/Plugins/Plugin.py
b/lib/python/Plugins/Plugin.py
index 3db703979cc622e281d34f2de4003d2852a7efa5..2c8d9296f111c2209dd6b2df5cc67b3279097e0b 100644
(file)
--- a/
lib/python/Plugins/Plugin.py
+++ b/
lib/python/Plugins/Plugin.py
@@
-11,6
+11,8
@@
class PluginDescriptor:
# servicereference
# reason
# servicereference
# reason
+ # you have to ignore unknown kwargs!
+
# argument: session
WHERE_BLUEMENU = 0
WHERE_MAINMENU = 1
# argument: session
WHERE_BLUEMENU = 0
WHERE_MAINMENU = 1
@@
-44,7
+46,7
@@
class PluginDescriptor:
def updateIcon(self, path):
if type(self.iconstr) is str:
def updateIcon(self, path):
if type(self.iconstr) is str:
- self.icon = loadPNG(path + self.iconstr)
+ self.icon = loadPNG(path +
"/" +
self.iconstr)
else:
self.icon = None
else:
self.icon = None