diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-11 19:31:09 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-11 19:31:09 +0000 |
| commit | 38be97ebc8fd897de166a2f641df5b7c175dcb6f (patch) | |
| tree | 3b73ac977ed9526f171ff26c338310ae32239660 /lib/gui/elistboxcontent.cpp | |
| parent | d1df9c9abf767fff6cfb073ef560d5b89b93610c (diff) | |
| download | enigma2-38be97ebc8fd897de166a2f641df5b7c175dcb6f.tar.gz enigma2-38be97ebc8fd897de166a2f641df5b7c175dcb6f.zip | |
revert a cruel act of sabotage
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index ae66e40a..c48fec70 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -424,7 +424,7 @@ void eListboxPythonConfigContent::paint(gPainter &painter, eWindowStyle &style, /* handle left part. get item from tuple, convert to string, display. */ text = PyTuple_GET_ITEM(item, 0); -// text = PyObject_Str(text); /* creates a new object - old object was borrowed! */ + text = PyObject_Str(text); /* creates a new object - old object was borrowed! */ const char *string = (text && PyString_Check(text)) ? PyString_AsString(text) : "<not-a-string>"; eSize item_left = eSize(m_seperation, m_itemsize.height()); eSize item_right = eSize(m_itemsize.width() - m_seperation, m_itemsize.height()); |
