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 17fe147662a8d50c3aee695d8d6c2206f75367a1..f456ac4660921654cad011391b55b331b68bf8f9 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 610314d460be535eb45ddeeb64d09dc799e4fb7e..47e6cec2f19c7174c29e621c263a48cae87b4826 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 3653472adf581069fe9a383bbff42d0218b34188..c0c1ecb557a2010ad1b7a16b9a8ea608961a7198 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