From: Felix Domke Date: Thu, 15 Jan 2009 23:56:54 +0000 (+0100) Subject: Patch by pieterg: X-Git-Tag: 2.6.0~505^2 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/410f57cf84862013286c1f1e5898e2d34b6a5dc6 Patch by pieterg: Some providers manage to send epg which matches on the bouquets, in the bouquet list. (probably sid 0 or something) As a result, nonsense event info is shown in the bouquet list. And because the bouquet names have a nonzero offset (because of the 'folder' icon), the bouquet name overlaps this event info. The simplest workaround is to only show event info for 'playable' items, which might even slightly speed up showing the bouquet list btw. --- diff --git a/lib/service/listboxservice.cpp b/lib/service/listboxservice.cpp index bee0e322..6cd7c625 100644 --- a/lib/service/listboxservice.cpp +++ b/lib/service/listboxservice.cpp @@ -584,7 +584,7 @@ void eListboxServiceContent::paint(gPainter &painter, eWindowStyle &style, const case celServiceInfo: { ePtr evt; - if ( service_info && !service_info->getEvent(*m_cursor, evt) ) + if ( isPlayable && service_info && !service_info->getEvent(*m_cursor, evt) ) { std::string name = evt->getEventName(); if (!name.length())