mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- neutrino: introduce user-assignable favorites key
Conflicts: src/gui/audioplayer.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -472,8 +472,8 @@ int CBouquetList::show(bool bShowChannelList)
|
||||
loop = false;
|
||||
}
|
||||
else if ((msg == CRCInput::RC_timeout ) ||
|
||||
(msg == (neutrino_msg_t)g_settings.key_channelList_cancel) ||
|
||||
((msg == CRCInput::RC_favorites) && (CNeutrinoApp::getInstance()->GetChannelMode() == LIST_MODE_FAV)))
|
||||
(msg == (neutrino_msg_t) g_settings.key_channelList_cancel) ||
|
||||
((msg == (neutrino_msg_t) g_settings.key_favorites) && (CNeutrinoApp::getInstance()->GetChannelMode() == LIST_MODE_FAV)))
|
||||
{
|
||||
selected = oldselected;
|
||||
if(fader.StartFadeOut()) {
|
||||
@@ -482,7 +482,7 @@ int CBouquetList::show(bool bShowChannelList)
|
||||
} else
|
||||
loop=false;
|
||||
}
|
||||
else if(msg == CRCInput::RC_red || msg == CRCInput::RC_favorites) {
|
||||
else if(msg == CRCInput::RC_red || msg == (neutrino_msg_t) g_settings.key_favorites) {
|
||||
if (!favonly && CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_FAV) {
|
||||
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_FAV);
|
||||
hide();
|
||||
|
Reference in New Issue
Block a user