aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authoracid-burn <acidburn@opendreambox.org>2009-12-01 18:27:26 +0100
committeracid-burn <acidburn@opendreambox.org>2009-12-01 18:27:26 +0100
commitc5c481c395ec9828847ebfd81481005e1c8d4fdb (patch)
treef726cd845ac122cced8af1ac35b5b20fb795c1fd /lib/python
parentc72b0788e404a940f29888a696756d6b4cd6644f (diff)
parentb5e18109ec87cc8f4c2a1923c0d98f3a0e758be8 (diff)
downloadenigma2-c5c481c395ec9828847ebfd81481005e1c8d4fdb.tar.gz
enigma2-c5c481c395ec9828847ebfd81481005e1c8d4fdb.zip
Merge commit 'origin/bug_318_PluginBrowser_no_reaction_on_language_changes' into experimental
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/Screens/PluginBrowser.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py
index 3a7df9fb..61bb7d0a 100755
--- a/lib/python/Screens/PluginBrowser.py
+++ b/lib/python/Screens/PluginBrowser.py
@@ -1,5 +1,5 @@
from Screen import Screen
-
+from Components.Language import language
from enigma import eConsoleAppContainer
from Components.ActionMap import ActionMap
@@ -14,6 +14,10 @@ from Tools.LoadPixmap import LoadPixmap
from time import time
+def languageChanged():
+ plugins.clearPluginList()
+ plugins.readPluginList(resolveFilename(SCOPE_PLUGINS))
+
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)
+language.addCallback(languageChanged) \ No newline at end of file