diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-11 10:24:34 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-11 10:24:34 +0100 |
| commit | 29788aa82abe81b63571066daff593db95695423 (patch) | |
| tree | dfbcadc172d10ed926a6b0d7c1b8f8bdaf71dc9e /lib/gui | |
| parent | cf3aeea4c73bd997f36b5a558a82552b6900053d (diff) | |
| download | enigma2-29788aa82abe81b63571066daff593db95695423.tar.gz enigma2-29788aa82abe81b63571066daff593db95695423.zip | |
add template handling to pixmap progress listboxmulticontent
refs #539
Diffstat (limited to 'lib/gui')
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index dbf96375..2eea1466 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -962,6 +962,9 @@ void eListboxPythonMultiContent::paint(gPainter &painter, eWindowStyle &style, c if (ppixmap) { ePtr<gPixmap> pixmap; + if (PyInt_Check(ppixmap) && data) /* if the pixmap is in fact a number, it refers to the data list */ + ppixmap = PyTuple_GetItem(data, PyInt_AsLong(ppixmap)); + if (SwigFromPython(pixmap, ppixmap)) { eDebug("eListboxPythonMultiContent (Pixmap) get pixmap failed"); |
