projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41241f7
)
in TemplatedMultiContent Lists, use the default skin color if color tuple element...
author
Fraxinas
<andreas.frisch@multimedia-labs.de>
Tue, 7 Dec 2010 09:16:30 +0000
(10:16 +0100)
committer
Fraxinas
<andreas.frisch@multimedia-labs.de>
Tue, 7 Dec 2010 09:16:30 +0000
(10:16 +0100)
lib/gui/elistboxcontent.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/elistboxcontent.cpp
b/lib/gui/elistboxcontent.cpp
index
97e2cc6
..
1dc4f48
100644
(file)
--- a/
lib/gui/elistboxcontent.cpp
+++ b/
lib/gui/elistboxcontent.cpp
@@
-640,7
+640,8
@@
static ePyObject lookupColor(ePyObject color, ePyObject data)
if ((icolor & 0xFF000000) == 0xFF000000)
{
int index = icolor & 0xFFFFFF;
if ((icolor & 0xFF000000) == 0xFF000000)
{
int index = icolor & 0xFFFFFF;
- eDebug("[eListboxPythonMultiContent] template color index: %d", index);
+ if (PyTuple_GetItem(data, index) == Py_None)
+ return ePyObject();
return PyTuple_GetItem(data, index);
}
return PyTuple_GetItem(data, index);
}