From 4da52adb39357337acdf2e15ffe8a90b76db9f54 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 3 May 2017 23:15:56 +0200 Subject: [PATCH] eventlist: remove obsolete buttons from footer Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8d4469feff03174f908796785ec2e0e19ad54a67 Author: vanhofen Date: 2017-05-03 (Wed, 03 May 2017) Origin message was: ------------------ - eventlist: remove obsolete buttons from footer ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/eventlist.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 8b54f8754..8001a1b80 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -1015,7 +1015,7 @@ void CEventList::showFunctionBar(t_channel_id channel_id) CColorKeyHelper keyhelper; //user_menue.h neutrino_msg_t dummy = CRCInput::RC_nokey; const char * icon = NULL; - struct button_label buttons[8]; //NI + struct button_label buttons[6]; //NI int btn_cnt = 0; int tID = -1; //any value, not NULL @@ -1078,16 +1078,6 @@ void CEventList::showFunctionBar(t_channel_id channel_id) buttons[btn_cnt].locale = LOCALE_TIMERLIST_NAME; btn_cnt++; - //NI left button - buttons[btn_cnt].button = NEUTRINO_ICON_BUTTON_LEFT; - buttons[btn_cnt].locale = NONEXISTANT_LOCALE; - btn_cnt++; - - //NI right button - buttons[btn_cnt].button = NEUTRINO_ICON_BUTTON_RIGHT; - buttons[btn_cnt].locale = NONEXISTANT_LOCALE; - btn_cnt++; - ::paintButtons(bx, by, bw, btn_cnt, buttons, bw, bh); }