mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-08 14:18:35 +02:00
- adzap: call adzap directly from usermenu
This commit is contained in:
@@ -377,7 +377,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
|||||||
break;
|
break;
|
||||||
case SNeutrinoSettings::ITEM_ADZAP:
|
case SNeutrinoSettings::ITEM_ADZAP:
|
||||||
keyhelper.get(&key,&icon,CRCInput::RC_blue);
|
keyhelper.get(&key,&icon,CRCInput::RC_blue);
|
||||||
menu_item = new CMenuForwarder(LOCALE_USERMENU_ITEM_ADZAP, true, adzap_active ? g_Locale->getText(LOCALE_OPTIONS_OFF) : NULL, neutrino, "adzap", key, icon);
|
menu_item = new CMenuForwarder(LOCALE_USERMENU_ITEM_ADZAP, true, adzap_active ? g_Locale->getText(LOCALE_OPTIONS_OFF) : NULL, CAdZapMenu::getInstance(), "adzap", key, icon);
|
||||||
menu_item->setHint(NEUTRINO_ICON_HINT_ADZAP, adzap_active ? LOCALE_MENU_HINT_ADZAP_ACTIVE : LOCALE_MENU_HINT_ADZAP);
|
menu_item->setHint(NEUTRINO_ICON_HINT_ADZAP, adzap_active ? LOCALE_MENU_HINT_ADZAP_ACTIVE : LOCALE_MENU_HINT_ADZAP);
|
||||||
break;
|
break;
|
||||||
#if 0
|
#if 0
|
||||||
|
@@ -4003,13 +4003,6 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(actionKey == "adzap") {
|
|
||||||
CAdZapMenu::getInstance()->exec(parent, "adzap");
|
|
||||||
if (CAdZapMenu::getInstance()->isActive())
|
|
||||||
return menu_return::RETURN_EXIT_ALL;
|
|
||||||
else
|
|
||||||
return menu_return::RETURN_REPAINT;
|
|
||||||
}
|
|
||||||
else if(actionKey == "moviedir") {
|
else if(actionKey == "moviedir") {
|
||||||
parent->hide();
|
parent->hide();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user