mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
neutrino: fix most hardcoded paths
Conflicts: src/eitd/SIlanguage.cpp src/eitd/SIlanguage.hpp src/gui/bookmarkmanager.h src/gui/keybind_setup.cpp src/gui/settings_manager.cpp src/nhttpd/yconfig.h src/nhttpd/yhttpd_mods/Makefile.am src/system/localize.cpp
This commit is contained in:
committed by
[CST] Focus
parent
0d2c3f3f10
commit
166e403965
@@ -43,7 +43,7 @@
|
||||
#include <gui/widget/menue.h>
|
||||
|
||||
#define MAXBOOKMARKS 10
|
||||
#define BOOKMARKFILE CONFIGDIR"/bookmarks"
|
||||
#define BOOKMARKFILE CONFIGDIR "/bookmarks"
|
||||
|
||||
class CBookmark
|
||||
{
|
||||
|
@@ -91,7 +91,7 @@ int CKeybindSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
CFileFilter fileFilter;
|
||||
fileFilter.addFilter("conf");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
if (fileBrowser.exec(CONFIGDIR "") == true) {
|
||||
if (fileBrowser.exec(CONFIGDIR) == true) {
|
||||
CNeutrinoApp::getInstance()->loadKeys(fileBrowser.getSelectedFile()->Name.c_str());
|
||||
printf("[neutrino keybind_setup] new keys: %s\n", fileBrowser.getSelectedFile()->Name.c_str());
|
||||
}
|
||||
|
@@ -71,7 +71,7 @@ int CSettingsManager::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
{
|
||||
fileFilter.addFilter("conf");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
if (fileBrowser.exec(CONFIGDIR "") == true)
|
||||
if (fileBrowser.exec(CONFIGDIR) == true)
|
||||
{
|
||||
CNeutrinoApp::getInstance()->loadSetup(fileBrowser.getSelectedFile()->Name.c_str());
|
||||
CColorSetupNotifier *colorSetupNotifier = new CColorSetupNotifier;
|
||||
|
Reference in New Issue
Block a user