Patch by pieterg:
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 15 Jan 2009 23:56:54 +0000 (00:56 +0100)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 15 Jan 2009 23:56:54 +0000 (00:56 +0100)
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.

lib/service/listboxservice.cpp

index bee0e322d9bd6e73520a0807a9258697467fade5..6cd7c625208c8aff4923ab7b4651377bfee6921d 100644 (file)
@@ -584,7 +584,7 @@ void eListboxServiceContent::paint(gPainter &painter, eWindowStyle &style, const
                                case celServiceInfo:
                                {
                                        ePtr<eServiceEvent> 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())