mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
Rework display LOCALE_SERVICEMENU_RELOAD_HINT message
- remove the very short visible message in channelsInit()
- remove global reloadhintBox
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 8eab1ca472
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-07-26 (Sat, 26 Jul 2014)
This commit is contained in:
committed by
[CST] Focus
parent
fec91793d8
commit
b990a5982b
@@ -65,8 +65,6 @@
|
||||
extern Zapit_config zapitCfg;
|
||||
extern char zapit_lat[20];
|
||||
extern char zapit_long[20];
|
||||
/* ugly */
|
||||
extern CHintBox *reloadhintBox;
|
||||
|
||||
//static int all_usals = 1;
|
||||
//sat_iterator_t sit;
|
||||
@@ -252,14 +250,13 @@ int CScanSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
else if(actionKey == "reloadchannels")
|
||||
{
|
||||
printf("[neutrino] CScanSetup::%s reloadchannels...\n", __FUNCTION__);
|
||||
if (reloadhintBox)
|
||||
reloadhintBox->paint();
|
||||
CHintBox chb(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SERVICEMENU_RELOAD_HINT));
|
||||
chb.paint();
|
||||
/* save if changed, to make sure NEW/REMOVED/... flags are updated */
|
||||
CServiceManager::getInstance()->SaveServices(true, true);
|
||||
/* Z->reinitChannels triggers EVT_SERVICESCHANGED and this triggers channelsInit() */
|
||||
g_Zapit->reinitChannels();
|
||||
if (reloadhintBox)
|
||||
reloadhintBox->hide();
|
||||
chb.hide();
|
||||
CNeutrinoApp::getInstance ()->SDTreloadChannels = false;
|
||||
if(file_exists(CURRENTSERVICES_XML)){
|
||||
unlink(CURRENTSERVICES_XML);
|
||||
|
Reference in New Issue
Block a user