mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
epgview: fix logic for followscreenings- and tmdb-button
Origin commit data
------------------
Branch: ni/coolstream
Commit: 92b6731e59
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-19 (Fri, 19 Jan 2018)
Origin message was:
------------------
- epgview: fix logic for followscreenings- and tmdb-button
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1627,28 +1627,27 @@ void CEpgData::showTimerEventBar (bool pshow, bool adzap, bool mp_info)
|
|||||||
|
|
||||||
if (mp_info)
|
if (mp_info)
|
||||||
{
|
{
|
||||||
if (!g_settings.tmdb_enabled)
|
// check tmdb button
|
||||||
{
|
if (g_settings.tmdb_enabled)
|
||||||
// disable tmdb button
|
EpgButtons[TV_BUTTONS][4].button = NEUTRINO_ICON_BUTTON_0;
|
||||||
EpgButtons[MP_BUTTONS][2].button = NEUTRINO_ICON_BUTTON_DUMMY_SMALL;
|
else
|
||||||
}
|
EpgButtons[TV_BUTTONS][4].button = NEUTRINO_ICON_BUTTON_DUMMY_SMALL;
|
||||||
|
|
||||||
::paintButtons(x, y, w, MaxButtons, EpgButtons[MP_BUTTONS], w, h);
|
::paintButtons(x, y, w, MaxButtons, EpgButtons[MP_BUTTONS], w, h);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bool fscr = (has_follow_screenings && !call_fromfollowlist);
|
// check followscreenings button
|
||||||
if (!fscr)
|
if (has_follow_screenings && !call_fromfollowlist)
|
||||||
{
|
EpgButtons[TV_BUTTONS][3].button = NEUTRINO_ICON_BUTTON_BLUE;
|
||||||
// disable followscreenings button
|
else
|
||||||
EpgButtons[TV_BUTTONS][3].button = NEUTRINO_ICON_BUTTON_DUMMY_SMALL;
|
EpgButtons[TV_BUTTONS][3].button = NEUTRINO_ICON_BUTTON_DUMMY_SMALL;
|
||||||
}
|
|
||||||
|
|
||||||
if (!g_settings.tmdb_enabled)
|
// check tmdb button
|
||||||
{
|
if (g_settings.tmdb_enabled)
|
||||||
// disable tmdb button
|
EpgButtons[TV_BUTTONS][4].button = NEUTRINO_ICON_BUTTON_0;
|
||||||
|
else
|
||||||
EpgButtons[TV_BUTTONS][4].button = NEUTRINO_ICON_BUTTON_DUMMY_SMALL;
|
EpgButtons[TV_BUTTONS][4].button = NEUTRINO_ICON_BUTTON_DUMMY_SMALL;
|
||||||
}
|
|
||||||
|
|
||||||
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF)
|
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF)
|
||||||
::paintButtons(x, y, w, MaxButtons, EpgButtons[TV_BUTTONS], w, h, "", false, COL_MENUFOOT_TEXT, adzap ? adzap_button.c_str() : NULL, 2);
|
::paintButtons(x, y, w, MaxButtons, EpgButtons[TV_BUTTONS], w, h, "", false, COL_MENUFOOT_TEXT, adzap ? adzap_button.c_str() : NULL, 2);
|
||||||
|
Reference in New Issue
Block a user