mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
move some actionkey-stuff from ni-menu directly to neutrino.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 16b57e40a8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-12 (Tue, 12 Sep 2017)
Origin message was:
------------------
- move some actionkey-stuff from ni-menu directly to neutrino.cpp
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -95,7 +95,6 @@ extern CCAMMenuHandler * g_CamHandler;
|
||||
#include <system/debug.h>
|
||||
|
||||
//NI
|
||||
#include <gui/ni_menu.h>
|
||||
#include <gui/infoicons_setup.h>
|
||||
|
||||
#include <gui/infoicons.h>
|
||||
@@ -167,7 +166,6 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
||||
// define classes
|
||||
CSubChannelSelectMenu subchanselect;
|
||||
CNeutrinoApp * neutrino = CNeutrinoApp::getInstance();
|
||||
CNIMenu *ni_menu = CNIMenu::getInstance(); //NI
|
||||
|
||||
std::string txt = g_settings.usermenu[button]->title;
|
||||
if (button < COL_BUTTONMAX && txt.empty())
|
||||
@@ -417,7 +415,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
||||
case SNeutrinoSettings::ITEM_ECMINFO:
|
||||
{
|
||||
keyhelper.get(&key,&icon);
|
||||
menu_item = new CMenuForwarder(LOCALE_ECMINFO_SHOW, file_size("/tmp/ecm.info"), NULL, ni_menu, "ecmInfo", key, icon);
|
||||
menu_item = new CMenuForwarder(LOCALE_ECMINFO_SHOW, file_size("/tmp/ecm.info"), NULL, neutrino, "ecmInfo", key, icon);
|
||||
// FIXME menu_item->setHint("", NONEXISTANT_LOCALE);
|
||||
break;
|
||||
}
|
||||
@@ -425,7 +423,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
||||
case SNeutrinoSettings::ITEM_CAMD_RESET:
|
||||
{
|
||||
keyhelper.get(&key,&icon);
|
||||
menu_item = new CMenuForwarder(LOCALE_CAMD_RESET, true, NULL, ni_menu, "camd_reset", key, icon);
|
||||
menu_item = new CMenuForwarder(LOCALE_CAMD_RESET, true, NULL, neutrino, "camd_reset", key, icon);
|
||||
// FIXME menu_item->setHint("", NONEXISTANT_LOCALE);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user