show with cool rc current transponder list

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 953b1d8010
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-09-19 (Sun, 19 Sep 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-09-19 21:42:57 +00:00
parent 99ca4c68f6
commit e03eec891d
2 changed files with 10 additions and 3 deletions

View File

@@ -1104,13 +1104,14 @@ int CChannelList::numericZap(int key)
}
return res;
}
if (key == g_settings.key_zaphistory) {
if(!autoshift && CNeutrinoApp::getInstance()->recordingstatus) {
if ((key == g_settings.key_zaphistory) || (key == CRCInput::RC_games)) {
if((!autoshift && CNeutrinoApp::getInstance()->recordingstatus) || (key == CRCInput::RC_games)) {
//CChannelList * orgList = bouquetList->orgChannelList;
CChannelList * orgList = CNeutrinoApp::getInstance()->channelList;
CChannelList * channelList = new CChannelList(g_Locale->getText(LOCALE_CHANNELLIST_CURRENT_TP), false, true);
t_channel_id recid = rec_channel_id >> 16;
if(key == CRCInput::RC_games)
recid = chanlist[selected]->channel_id >> 16;
for ( unsigned int i = 0 ; i < orgList->chanlist.size(); i++) {
if((orgList->chanlist[i]->channel_id >> 16) == recid) {
channelList->addChannel(orgList->chanlist[i]);

View File

@@ -2840,6 +2840,12 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
StartSubtitles();
}
}
else if (msg == CRCInput::RC_games){
StopSubtitles();
int res = channelList->numericZap( msg );
if(res < 0)
StartSubtitles();
}
else if( msg == (neutrino_msg_t) g_settings.key_lastchannel ) {
// Quick Zap
StopSubtitles();