mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
l4l: remove hardcoded path; start with full path
This commit is contained in:
@@ -306,7 +306,7 @@ int CMiscMenue::showMiscSettingsMenu()
|
||||
#ifdef ENABLE_LCD4LINUX
|
||||
// LCD4Linux Setup
|
||||
CLCD4lSetup lcd4lSetup;
|
||||
mf = new CMenuForwarder(LOCALE_LCD4L_SUPPORT, ((access("/usr/bin/lcd4linux", F_OK) == 0) || (access("/var/bin/lcd4linux", F_OK) == 0)), NULL, &lcd4lSetup, NULL, CRCInput::RC_4);
|
||||
mf = new CMenuForwarder(LOCALE_LCD4L_SUPPORT, !find_executable("lcd4linux").empty(), NULL, &lcd4lSetup, NULL, CRCInput::RC_4);
|
||||
misc_menue.addItem(mf);
|
||||
#endif
|
||||
|
||||
|
@@ -494,7 +494,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
||||
case SNeutrinoSettings::ITEM_LCD4LINUX:
|
||||
{
|
||||
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);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user