diff options
| author | Andreas Oberritter <obi@saftware.de> | 2009-08-18 18:08:03 +0200 |
|---|---|---|
| committer | Andreas Oberritter <obi@saftware.de> | 2009-08-18 18:08:03 +0200 |
| commit | 9b70d2bcdc6ec3afd4f1666beb329aa649d7a25c (patch) | |
| tree | 04dac5ffea8f8fc461250523e74a2e70888301ea /lib/python/Plugins/Extensions/FileManager | |
| parent | 287f7c2cfaf264b079cce1bf789d118ee444180f (diff) | |
| download | enigma2-9b70d2bcdc6ec3afd4f1666beb329aa649d7a25c.tar.gz enigma2-9b70d2bcdc6ec3afd4f1666beb329aa649d7a25c.zip | |
remove orphaned FileManager plugin
Diffstat (limited to 'lib/python/Plugins/Extensions/FileManager')
| -rw-r--r-- | lib/python/Plugins/Extensions/FileManager/Makefile.am | 6 | ||||
| -rw-r--r-- | lib/python/Plugins/Extensions/FileManager/__init__.py | 0 | ||||
| -rw-r--r-- | lib/python/Plugins/Extensions/FileManager/plugin.py | 64 |
3 files changed, 0 insertions, 70 deletions
diff --git a/lib/python/Plugins/Extensions/FileManager/Makefile.am b/lib/python/Plugins/Extensions/FileManager/Makefile.am deleted file mode 100644 index 029b738c..00000000 --- a/lib/python/Plugins/Extensions/FileManager/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -installdir = $(pkglibdir)/python/Plugins/Extensions/FileManager - -install_PYTHON = \ - __init__.py \ - plugin.py - diff --git a/lib/python/Plugins/Extensions/FileManager/__init__.py b/lib/python/Plugins/Extensions/FileManager/__init__.py deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/FileManager/__init__.py +++ /dev/null diff --git a/lib/python/Plugins/Extensions/FileManager/plugin.py b/lib/python/Plugins/Extensions/FileManager/plugin.py deleted file mode 100644 index 62c9e7b2..00000000 --- a/lib/python/Plugins/Extensions/FileManager/plugin.py +++ /dev/null @@ -1,64 +0,0 @@ -from Screens.Screen import Screen -from Components.ActionMap import NumberActionMap -from Components.Pixmap import Pixmap -from Components.FileList import FileList -from Plugins.Plugin import PluginDescriptor - -class FileManager(Screen): - skin = """ - <screen position="100,100" size="550,400" title="Test" > - <!--widget name="text" position="0,0" size="550,25" font="Regular;20" /--> - <widget name="list" position="10,0" size="190,250" scrollbarMode="showOnDemand" /> - <widget name="pixmap" position="200,0" size="190,250" alphatest="on" /> - </screen>""" - def __init__(self, session, args = None): - self.skin = FileManager.skin - Screen.__init__(self, session) - - self["list"] = FileList("/", matchingPattern = "^.*\.(png|avi|mp3|mpeg|ts)", useServiceRef = True) - self["pixmap"] = Pixmap() - - #self["text"] = Input("1234", maxSize=True, type=Input.NUMBER) - - self["actions"] = NumberActionMap(["WizardActions", "InputActions"], - { - "ok": self.ok, - "back": self.close, -# "left": self.keyLeft, -# "right": self.keyRight, - "1": self.keyNumberGlobal, - "2": self.keyNumberGlobal, - "3": self.keyNumberGlobal, - "4": self.keyNumberGlobal, - "5": self.keyNumberGlobal, - "6": self.keyNumberGlobal, - "7": self.keyNumberGlobal, - "8": self.keyNumberGlobal, - "9": self.keyNumberGlobal, - "0": self.keyNumberGlobal - }, -1) - - def keyLeft(self): - self["text"].left() - - def keyRight(self): - self["text"].right() - - def ok(self): - - if self["list"].canDescent(): # isDir - self["list"].descent() - else: - self["pixmap"].instance.setPixmapFromFile(self["list"].getFilename()) - - def keyNumberGlobal(self, number): - print "pressed", number - self["text"].number(number) - -def main(session, **kwargs): - session.open(FileManager) - -def Plugins(**kwargs): - descr = _("Lets you view/edit files in your Dreambox") - return [PluginDescriptor(name="File-Manager", description=descr, where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main), - PluginDescriptor(name="File-Manager", description=descr, where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main)] |
