neutrino: fix painting of button bar in eventlist

if sort record and remind buttons are not set, then the button bar would
vanish at every key up/down event

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1797 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: af0cc784c3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-10-30 (Sun, 30 Oct 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-10-30 14:09:21 +00:00
parent 6b540cfae9
commit 19132999a2

View File

@@ -375,13 +375,12 @@ int EventList::exec(const t_channel_id channel_id, const std::string& channelnam
bool paint_buttonbar = false; //function bar
int step = 0;
int prev_selected = selected;
// TODO: do we need this at all? Search button is always painted IIUC...
if ((g_settings.key_channelList_addremind != (int)CRCInput::RC_nokey) ||
((g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) &&
(g_settings.key_channelList_addrecord != (int)CRCInput::RC_nokey)))
{
(g_settings.key_channelList_sort != (int)CRCInput::RC_nokey) ||
((g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) &&
(g_settings.key_channelList_addrecord != (int)CRCInput::RC_nokey)))
paint_buttonbar = true;
}
if (msg == CRCInput::RC_up || (int) msg == g_settings.key_channelList_pageup)
{