ShortText == Description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



     Hi!

There are some channels witch EPG ShortText is the same as Description
(and a few sentences long). So I'm suggesting little change in 
skinclassic.c (and probably in skinsttng.c too):

in cSkinClassicDisplayMenu::SetEvent

-  y += font->Height();
-  if (!isempty(Event->Description())) {
-     textScroller.Set(osd, xl, y, x1 - xl - 2 * ScrollWidth, y3 - y,...
-     SetScrollbar();
-     }


+  if((isempty(Event->ShortText()))||(isempty(Event->Description()))||
+     (strncmp(Event->ShortText(),Event->Description(),8))) {
+    y += font->Height();
+    if (!isempty(Event->Description())) {
+       textScroller.Set(osd, xl, y, x1 - xl - 2 * ScrollWidth, y3 - y,...
+       SetScrollbar();
+       }
+  }


and the like in cSkinClassicDisplayMenu::SetRecording


                                            Boguslaw Juza



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux