git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e9272c4
)
PluginBrowser.py: react on language changes and clear/reload pluginlist to show the...
author
acid-burn
<acidburn@opendreambox.org>
Tue, 1 Dec 2009 17:25:07 +0000
(18:25 +0100)
committer
acid-burn
<acidburn@opendreambox.org>
Tue, 1 Dec 2009 17:25:07 +0000
(18:25 +0100)
lib/python/Screens/PluginBrowser.py
patch
|
blob
|
history
diff --git
a/lib/python/Screens/PluginBrowser.py
b/lib/python/Screens/PluginBrowser.py
index 3a7df9fb9cb49a2120e61eee042b1d0360120f5b..61bb7d0ac8e99a9aa0e221204dde06bfa2c10c50 100755
(executable)
--- a/
lib/python/Screens/PluginBrowser.py
+++ b/
lib/python/Screens/PluginBrowser.py
@@
-1,5
+1,5
@@
from Screen import Screen
from Screen import Screen
-
+from Components.Language import language
from enigma import eConsoleAppContainer
from Components.ActionMap import ActionMap
from enigma import eConsoleAppContainer
from Components.ActionMap import ActionMap
@@
-14,6
+14,10
@@
from Tools.LoadPixmap import LoadPixmap
from time import time
from time import time
+def languageChanged():
+ plugins.clearPluginList()
+ plugins.readPluginList(resolveFilename(SCOPE_PLUGINS))
+
class PluginBrowser(Screen):
def __init__(self, session):
Screen.__init__(self, session)
class PluginBrowser(Screen):
def __init__(self, session):
Screen.__init__(self, session)
@@
-226,3
+230,4
@@
class PluginDownloadBrowser(Screen):
self.list = list
self["list"].l.setList(list)
self.list = list
self["list"].l.setList(list)
+language.addCallback(languageChanged)
\ No newline at end of file