mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
l4l: remove hardcoded path; start with full path
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7e12a6df60
Author: GetAway <get-away@t-online.de>
Date: 2019-01-01 (Tue, 01 Jan 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -327,7 +327,7 @@ int CMiscMenue::showMiscSettingsMenu()
|
|||||||
|
|
||||||
// LCD4Linux Setup
|
// LCD4Linux Setup
|
||||||
CLCD4lSetup lcd4lSetup;
|
CLCD4lSetup lcd4lSetup;
|
||||||
mf = new CMenuForwarder(LOCALE_LCD4L_SUPPORT, true, NULL, &lcd4lSetup, NULL, CRCInput::RC_7);
|
mf = new CMenuForwarder(LOCALE_LCD4L_SUPPORT, !find_executable("lcd4linux").empty(), NULL, &lcd4lSetup, NULL, CRCInput::RC_7);
|
||||||
mf->setHint(NEUTRINO_ICON_HINT_LCD4LINUX, LOCALE_MENU_HINT_LCD4L_SUPPORT);
|
mf->setHint(NEUTRINO_ICON_HINT_LCD4LINUX, LOCALE_MENU_HINT_LCD4L_SUPPORT);
|
||||||
misc_menue.addItem(mf);
|
misc_menue.addItem(mf);
|
||||||
|
|
||||||
|
@@ -530,7 +530,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
|||||||
case SNeutrinoSettings::ITEM_LCD4LINUX:
|
case SNeutrinoSettings::ITEM_LCD4LINUX:
|
||||||
{
|
{
|
||||||
keyhelper.get(&key,&icon);
|
keyhelper.get(&key,&icon);
|
||||||
menu_item = new CMenuForwarder(LOCALE_LCD4L_SUPPORT, ((access("/usr/bin/lcd4linux", F_OK) == 0) || (access("/var/bin/lcd4linux", F_OK) == 0)), NULL, CLCD4lSetup::getInstance(), NULL, key, icon);
|
menu_item = new CMenuForwarder(LOCALE_LCD4L_SUPPORT, !find_executable("lcd4linux").empty(), NULL, CLCD4lSetup::getInstance(), NULL, key, icon);
|
||||||
menu_item->setHint(NEUTRINO_ICON_HINT_LCD4LINUX, LOCALE_MENU_HINT_LCD4L_SUPPORT);
|
menu_item->setHint(NEUTRINO_ICON_HINT_LCD4LINUX, LOCALE_MENU_HINT_LCD4L_SUPPORT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user