mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
webtv-setup: minor changes in changeNotify() function
Origin commit data
------------------
Commit: 1305b5d339
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-21 (Fri, 21 Sep 2018)
Origin message was:
------------------
- webtv-setup: minor changes in changeNotify() function
This commit is contained in:
@@ -209,10 +209,17 @@ int CWebTVSetup::Show()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//NI
|
//NI
|
||||||
bool CWebTVSetup::changeNotify(const neutrino_locale_t, void */*data*/)
|
bool CWebTVSetup::changeNotify(const neutrino_locale_t OptionName, void */*data*/)
|
||||||
{
|
{
|
||||||
changed = true;
|
int ret = menu_return::RETURN_NONE;
|
||||||
return false;
|
|
||||||
|
if (ARE_LOCALES_EQUAL(OptionName, LOCALE_WEBTV_XML_AUTO))
|
||||||
|
{
|
||||||
|
changed = true;
|
||||||
|
ret = menu_return::RETURN_REPAINT;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
//NI
|
//NI
|
||||||
|
@@ -39,7 +39,7 @@ class CWebTVSetup : public CMenuTarget, CChangeObserver //NI
|
|||||||
CWebTVSetup();
|
CWebTVSetup();
|
||||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||||
int Show();
|
int Show();
|
||||||
bool changeNotify(const neutrino_locale_t, void * data); //NI
|
bool changeNotify(const neutrino_locale_t OptionName, void *data); //NI
|
||||||
void webtv_xml_auto(); //NI
|
void webtv_xml_auto(); //NI
|
||||||
bool webtv_xml_autodir(std::string directory);
|
bool webtv_xml_autodir(std::string directory);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user