mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +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>
This commit is contained in:
@@ -82,8 +82,6 @@ extern cDemux *videoDemux;
|
||||
extern cDemux *audioDemux;
|
||||
extern cDemux *pcrDemux;
|
||||
|
||||
extern CHintBox *reloadhintBox;
|
||||
|
||||
extern "C" int pinghost( const char *hostname );
|
||||
|
||||
COnOffNotifier::COnOffNotifier(int OffValue)
|
||||
@@ -562,12 +560,11 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
||||
g_Zapit->reinitChannels();
|
||||
}
|
||||
if (delete_removed) {
|
||||
if (reloadhintBox)
|
||||
reloadhintBox->paint();
|
||||
CHintBox chb(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SERVICEMENU_RELOAD_HINT));
|
||||
chb.paint();
|
||||
CServiceManager::getInstance()->SaveServices(true, false, true);
|
||||
if (reloadhintBox)
|
||||
reloadhintBox->hide(); /* reinitChannels also triggers a reloadhintbox */
|
||||
g_Zapit->reinitChannels();
|
||||
chb.hide();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user