git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix inverted setting (meaning was inverted too)
[enigma2.git]
/
lib
/
python
/
Components
/
PluginList.py
diff --git
a/lib/python/Components/PluginList.py
b/lib/python/Components/PluginList.py
index 9dec041b8418fcce7b513008589ed0e2f96712e4..22db1ad2a69f27132f334b77c456e725d17d19b5 100644
(file)
--- a/
lib/python/Components/PluginList.py
+++ b/
lib/python/Components/PluginList.py
@@
-16,13
+16,14
@@
RT_VALIGN_TOP = 0
RT_VALIGN_CENTER = 8
RT_VALIGN_BOTTOM = 16
RT_VALIGN_CENTER = 8
RT_VALIGN_BOTTOM = 16
-def PluginEntryComponent(picture, name):
+def PluginEntryComponent(picture, name
, desc = "Plugin"
):
res = [ None ]
res = [ None ]
- res.append((80, 10, 200, 50, 0, RT_HALIGN_LEFT , name))
+ res.append((eListboxPythonMultiContent.TYPE_TEXT, 80, 5, 300, 25, 0, RT_HALIGN_LEFT , name))
+ res.append((eListboxPythonMultiContent.TYPE_TEXT, 80, 26, 300, 17, 1, RT_HALIGN_LEFT , desc))
png = loadPNG(picture)
if png == None:
png = loadPNG(picture)
if png == None:
- png = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "/
countries/missing
.png"))
- res.append((10, 5, 60, 40, png))
+ png = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "/
plugin
.png"))
+ res.append((
eListboxPythonMultiContent.TYPE_PIXMAP,
10, 5, 60, 40, png))
return res
return res
@@
-34,7
+35,7
@@
class PluginList(HTMLComponent, GUIComponent, MenuList):
self.list = list
self.l.setList(list)
self.l.setFont(0, gFont("Regular", 20))
self.list = list
self.l.setList(list)
self.l.setFont(0, gFont("Regular", 20))
- self.l.setFont(1, gFont("Regular", 1
0
))
+ self.l.setFont(1, gFont("Regular", 1
4
))
def GUIcreate(self, parent):
self.instance = eListbox(parent)
def GUIcreate(self, parent):
self.instance = eListbox(parent)