mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
gui/channellist.cpp: fix key pass to neutrino,
after commit14b5dda71c
Origin commit data ------------------ Branch: ni/coolstream Commit:e61a66e4d6
Author: [CST] Focus <focus.cst@gmail.com> Date: 2014-10-11 (Sat, 11 Oct 2014) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -697,12 +697,14 @@ int CChannelList::show()
|
||||
loop = false;
|
||||
}
|
||||
}
|
||||
else if (!edit_state && (msg == CRCInput::RC_sat || msg == CRCInput::RC_favorites)) {
|
||||
else if (msg == CRCInput::RC_sat || msg == CRCInput::RC_favorites) {
|
||||
if (!edit_state) {
|
||||
int newmode = msg == CRCInput::RC_sat ? LIST_MODE_SAT : LIST_MODE_FAV;
|
||||
CNeutrinoApp::getInstance()->SetChannelMode(newmode);
|
||||
res = CHANLIST_CHANGE_MODE;
|
||||
loop = false;
|
||||
}
|
||||
}
|
||||
else if (!edit_state && msg == CRCInput::RC_setup) {
|
||||
fader.StopFade();
|
||||
int ret = doChannelMenu();
|
||||
@@ -765,7 +767,8 @@ int CChannelList::show()
|
||||
dont_hide = true;
|
||||
}
|
||||
}
|
||||
else if (!empty && msg == CRCInput::RC_ok ) {
|
||||
else if (msg == CRCInput::RC_ok ) {
|
||||
if (!empty) {
|
||||
if (move_state == beMoving) {
|
||||
finishMoveChannel();
|
||||
} else if (edit_state) {
|
||||
@@ -778,6 +781,7 @@ int CChannelList::show()
|
||||
loop=false;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!edit_state && ( msg == CRCInput::RC_spkr ) && new_zap_mode ) {
|
||||
if(CNeutrinoApp::getInstance()->getMode() != NeutrinoMessages::mode_ts) {
|
||||
switch (new_zap_mode) {
|
||||
@@ -836,12 +840,14 @@ int CChannelList::show()
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(!edit_state && CRCInput::isNumeric(msg)) {
|
||||
else if(CRCInput::isNumeric(msg)) {
|
||||
if (!edit_state) {
|
||||
//pushback key if...
|
||||
selected = oldselected;
|
||||
g_RCInput->postMsg( msg, data );
|
||||
loop = false;
|
||||
}
|
||||
}
|
||||
else if (!empty && !edit_state && msg == CRCInput::RC_blue )
|
||||
{
|
||||
if (g_settings.channellist_additional)
|
||||
@@ -899,7 +905,7 @@ int CChannelList::show()
|
||||
|
||||
paintHead();
|
||||
paint();
|
||||
} else if (msg > CRCInput::RC_MaxRC) {
|
||||
} else {
|
||||
if ( CNeutrinoApp::getInstance()->handleMsg( msg, data ) & messages_return::cancel_all ) {
|
||||
loop = false;
|
||||
res = CHANLIST_CANCEL_ALL;
|
||||
|
Reference in New Issue
Block a user