mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CPersonalizeGui: Replaces CMenuOptionChooser::getOptionName() by getName()
Signed-off-by: Thilo Graf <dbt@novatux.de> partial revert ofb6b44d9088
Origin commit data ------------------ Commit:ee99902be3
Author: Michael Liebmann <tuxcode.bbg@gmail.com> Date: 2014-04-09 (Wed, 09 Apr 2014)
This commit is contained in:
@@ -545,7 +545,7 @@ int CPersonalizeGui::ShowMenuOptions(const int& widget)
|
||||
|
||||
//required for first view: check active mode of option chooser and disable if it's an observed item and item mode is set to 'not visible'
|
||||
for (uint j = 0; j < v_observ.size(); j++)
|
||||
if (opt->getOptionName()== g_Locale->getText(v_observ[j].to_observ_locale) && *p_mode == PERSONALIZE_MODE_NOTVISIBLE)
|
||||
if (opt->getName()== g_Locale->getText(v_observ[j].to_observ_locale) && *p_mode == PERSONALIZE_MODE_NOTVISIBLE)
|
||||
opt->setActive(false);
|
||||
|
||||
pm->addItem(opt); //add option chooser
|
||||
@@ -612,7 +612,7 @@ bool CPersonalizeGui::changeNotify(const neutrino_locale_t locale, void *data)
|
||||
{
|
||||
//if found an optionchooser, then extract option name
|
||||
CMenuOptionChooser* chooser = static_cast <CMenuOptionChooser*> (item);
|
||||
string opt_name = chooser->getOptionName();
|
||||
string opt_name = chooser->getName();
|
||||
|
||||
for (uint j = 0; j < v_observ.size(); j++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user