neutrino: make g_channel_list_changed private

Add a setter function MarkChannelListChanged() instead for
bouquet/channel list. This avoids sometimes not reloading
channels after changes in the service menu.


Origin commit data
------------------
Branch: ni/coolstream
Commit: c0c008190e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-04-14 19:42:28 +02:00
committed by [CST] Focus
parent 82351676b7
commit 89d3d162ea
4 changed files with 7 additions and 5 deletions

View File

@@ -700,7 +700,8 @@ int CChannelList::show()
old_b_id = bouquetList->getActiveBouquetNumber();
fader.Stop();
int ret = doChannelMenu();
CNeutrinoApp::getInstance()->g_channel_list_changed = (ret != 0);
if (ret != 0)
CNeutrinoApp::getInstance()->MarkChannelListChanged();
if (ret == 1) {
res = -3 - ret; /* -5 == add to fav or bouquet, -4 == all other change */
loop = false;