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 (incomplete) media scan support
[enigma2.git]
/
lib
/
python
/
Plugins
/
Plugin.py
diff --git
a/lib/python/Plugins/Plugin.py
b/lib/python/Plugins/Plugin.py
index b2808c8ec6838da15733c38824560ab53b7838e7..de3ec4f06ecac0cb8a6b26c28f10354df9780270 100644
(file)
--- a/
lib/python/Plugins/Plugin.py
+++ b/
lib/python/Plugins/Plugin.py
@@
-1,4
+1,7
@@
from enigma import loadPNG
from enigma import loadPNG
+from Components.config import ConfigSubsection, config
+
+config.plugins = ConfigSubsection()
class PluginDescriptor:
"""An object to describe a plugin."""
class PluginDescriptor:
"""An object to describe a plugin."""
@@
-14,7
+17,7
@@
class PluginDescriptor:
# you have to ignore unknown kwargs!
# argument: session
# you have to ignore unknown kwargs!
# argument: session
- WHERE_
BLUE
MENU = 0
+ WHERE_
EXTENSIONS
MENU = 0
WHERE_MAINMENU = 1
WHERE_PLUGINMENU = 2
# argument: session, serviceref (currently selected)
WHERE_MAINMENU = 1
WHERE_PLUGINMENU = 2
# argument: session, serviceref (currently selected)