From: Stefan Pluecken Date: Mon, 2 Jan 2006 14:02:22 +0000 (+0000) Subject: update the plugin-images X-Git-Tag: 2.6.0~4547 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/0be83826dd31db1b88058bfc93528610afde2fda update the plugin-images --- diff --git a/data/plugin.png b/data/plugin.png new file mode 100644 index 00000000..88091528 Binary files /dev/null and b/data/plugin.png differ diff --git a/lib/python/Components/PluginList.py b/lib/python/Components/PluginList.py index 17fe1476..f456ac46 100644 --- a/lib/python/Components/PluginList.py +++ b/lib/python/Components/PluginList.py @@ -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: - 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 diff --git a/lib/python/Plugins/Makefile.am b/lib/python/Plugins/Makefile.am index 610314d4..47e6cec2 100644 --- a/lib/python/Plugins/Makefile.am +++ b/lib/python/Plugins/Makefile.am @@ -2,5 +2,6 @@ installdir = $(LIBDIR)/enigma2/python/Plugins 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 index 00000000..e69de29b diff --git a/lib/python/Plugins/update.py b/lib/python/Plugins/update.py index 3653472a..c0c1ecb5 100644 --- a/lib/python/Plugins/update.py +++ b/lib/python/Plugins/update.py @@ -44,7 +44,7 @@ def main(session): def getPicturePath(): - return "" + return "/usr/lib/enigma2/python/Plugins/update.png" def getPluginName(): return "Softwareupdate" \ No newline at end of file