mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
gui/infoviewer_bb.cpp: show streaminfo label for red button in TS mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: a4d0179beb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-10-29 (Thu, 29 Oct 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -220,12 +220,17 @@ void CInfoViewerBB::getBBButtonInfo()
|
|||||||
case CInfoViewerBB::BUTTON_EPG:
|
case CInfoViewerBB::BUTTON_EPG:
|
||||||
icon = NEUTRINO_ICON_BUTTON_RED;
|
icon = NEUTRINO_ICON_BUTTON_RED;
|
||||||
frameBuffer->getIconSize(icon.c_str(), &w, &h);
|
frameBuffer->getIconSize(icon.c_str(), &w, &h);
|
||||||
text = CUserMenu::getUserMenuButtonName(0, active);
|
mode = CNeutrinoApp::getInstance()->getMode();
|
||||||
if (!text.empty())
|
if (mode == NeutrinoMessages::mode_ts) {
|
||||||
break;
|
text = g_Locale->getText(LOCALE_EPGMENU_STREAMINFO);
|
||||||
text = g_settings.usermenu[SNeutrinoSettings::BUTTON_RED]->title;
|
} else {
|
||||||
if (text.empty())
|
text = CUserMenu::getUserMenuButtonName(0, active);
|
||||||
text = g_Locale->getText(LOCALE_INFOVIEWER_EVENTLIST);
|
if (!text.empty())
|
||||||
|
break;
|
||||||
|
text = g_settings.usermenu[SNeutrinoSettings::BUTTON_RED]->title;
|
||||||
|
if (text.empty())
|
||||||
|
text = g_Locale->getText(LOCALE_INFOVIEWER_EVENTLIST);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case CInfoViewerBB::BUTTON_AUDIO:
|
case CInfoViewerBB::BUTTON_AUDIO:
|
||||||
icon = NEUTRINO_ICON_BUTTON_GREEN;
|
icon = NEUTRINO_ICON_BUTTON_GREEN;
|
||||||
|
Reference in New Issue
Block a user