mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
eventlist: don't show EPGplus button when EPGplus is disabled
Origin commit data
------------------
Branch: ni/coolstream
Commit: 05b46b65ab
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-09 (Sat, 09 Mar 2019)
Origin message was:
------------------
- eventlist: don't show EPGplus button when EPGplus is disabled
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1052,12 +1052,15 @@ void CEventList::paintFoot(t_channel_id channel_id)
|
||||
btn_cnt++;
|
||||
}
|
||||
|
||||
//NI epg button for epg-plus
|
||||
buttons[btn_cnt].button = NEUTRINO_ICON_BUTTON_EPG_SMALL;
|
||||
buttons[btn_cnt].locale = LOCALE_EPGPLUS_HEAD;
|
||||
btn_cnt++;
|
||||
// epg button for epg-plus
|
||||
if (g_settings.eventlist_epgplus)
|
||||
{
|
||||
buttons[btn_cnt].button = NEUTRINO_ICON_BUTTON_EPG_SMALL;
|
||||
buttons[btn_cnt].locale = LOCALE_EPGPLUS_HEAD;
|
||||
btn_cnt++;
|
||||
}
|
||||
|
||||
//NI timerlist button
|
||||
// timerlist button
|
||||
buttons[btn_cnt].button = g_info.hw_caps->has_button_timer ? NEUTRINO_ICON_BUTTON_TIMER : NEUTRINO_ICON_BUTTON_0;
|
||||
buttons[btn_cnt].locale = LOCALE_TIMERLIST_NAME;
|
||||
btn_cnt++;
|
||||
|
Reference in New Issue
Block a user