diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-11-17 20:26:33 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-11-17 20:26:33 +0100 |
commit | 2d58218830c63ff49aa04b71a75d7707c967d0f9 (patch) | |
tree | eb5506d6599a461bda0e2ecb69fb2561d0cf4554 /displaymenu.c | |
parent | d4f2b1f98cc7a35b23ec282438e3cb8d426ba9a4 (diff) | |
download | skin-flatplus-2d58218830c63ff49aa04b71a75d7707c967d0f9.tar.gz skin-flatplus-2d58218830c63ff49aa04b71a75d7707c967d0f9.tar.bz2 |
update dvb widget
Diffstat (limited to 'displaymenu.c')
-rw-r--r-- | displaymenu.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/displaymenu.c b/displaymenu.c index 88994831..10734b20 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -4048,10 +4048,16 @@ int cFlatDisplayMenu::DrawMainMenuWidgetDVBDevices(int wLeft, int wWidth, int Co cString chanName = channel->Name(); if( !strcmp(*chanName, "") ) strDevice << tr("not used"); - else + else { + if( Config.MainMenuWidgetDVBDevicesDiscardUnknown ) + continue; strDevice << tr("Unknown") << " (" << *chanName << ")"; - } else + } + } else { + if( Config.MainMenuWidgetDVBDevicesDiscardNotUsed ) + continue; strDevice << tr("not used"); + } } contentWidget.AddText(strDevice.str().c_str(), false, cRect(marginItem, ContentTop, wWidth - marginItem*2, fontSmlHeight), |