update the plugin-images
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 2 Jan 2006 14:02:22 +0000 (14:02 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 2 Jan 2006 14:02:22 +0000 (14:02 +0000)
data/plugin.png [new file with mode: 0644]
lib/python/Components/PluginList.py
lib/python/Plugins/Makefile.am
lib/python/Plugins/update.png [new file with mode: 0644]
lib/python/Plugins/update.py

diff --git a/data/plugin.png b/data/plugin.png
new file mode 100644 (file)
index 0000000..8809152
Binary files /dev/null and b/data/plugin.png differ
index 17fe147..f456ac4 100644 (file)
@@ -21,7 +21,7 @@ def PluginEntryComponent(picture, name):
        res.append((eListboxPythonMultiContent.TYPE_TEXT, 80, 10, 200, 50, 0, RT_HALIGN_LEFT , name))
        png = loadPNG(picture)
        if png == None:
        res.append((eListboxPythonMultiContent.TYPE_TEXT, 80, 10, 200, 50, 0, RT_HALIGN_LEFT , name))
        png = loadPNG(picture)
        if png == None:
-               png = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "/countries/missing.png"))
+               png = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "/plugin.png"))
        res.append((eListboxPythonMultiContent.TYPE_PIXMAP, 10, 5, 60, 40, png))
        
        return res
        res.append((eListboxPythonMultiContent.TYPE_PIXMAP, 10, 5, 60, 40, png))
        
        return res
index 610314d..47e6cec 100644 (file)
@@ -2,5 +2,6 @@ installdir = $(LIBDIR)/enigma2/python/Plugins
 
 install_PYTHON =       \
        __init__.py \
 
 install_PYTHON =       \
        __init__.py \
-       update.py
-#      example.py 
+       update.py       \
+       update.png
diff --git a/lib/python/Plugins/update.png b/lib/python/Plugins/update.png
new file mode 100644 (file)
index 0000000..e69de29
index 3653472..c0c1ecb 100644 (file)
@@ -44,7 +44,7 @@ def main(session):
        
 
 def getPicturePath():
        
 
 def getPicturePath():
-               return ""
+               return "/usr/lib/enigma2/python/Plugins/update.png"
 
 def getPluginName():
                return "Softwareupdate"
\ No newline at end of file
 
 def getPluginName():
                return "Softwareupdate"
\ No newline at end of file