X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/08fca93e7f2a37a452399d08c5c84b969b7e52af..f78de26900d5d14c363984ff3c21952f4093a9a7:/lib/python/Plugins/Extensions/FileManager/plugin.py diff --git a/lib/python/Plugins/Extensions/FileManager/plugin.py b/lib/python/Plugins/Extensions/FileManager/plugin.py index e9dccbd6..d2b19719 100644 --- a/lib/python/Plugins/Extensions/FileManager/plugin.py +++ b/lib/python/Plugins/Extensions/FileManager/plugin.py @@ -56,7 +56,7 @@ class FileManager(Screen): if self["list"].canDescent(): # isDir self["list"].descent() else: - self["pixmap"].instance.setPixmapFromFile(self["list"].getSelection()) + self["pixmap"].instance.setPixmapFromFile(self["list"].getFilename()) def keyNumberGlobal(self, number): print "pressed", number @@ -66,4 +66,5 @@ def main(session, **kwargs): session.open(FileManager) def Plugins(**kwargs): - return PluginDescriptor(name="File-Manager", description="Let's you view/edit files in your Dreambox", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main) + return [PluginDescriptor(name="File-Manager", description="Let's you view/edit files in your Dreambox", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main), + PluginDescriptor(name="File-Manager", description="Let's you view/edit files in your Dreambox", where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main)]