Allow ede-startup.conf values to be overwritten by user specific startup sequence.

This commit is contained in:
Sanel Zukan 2015-12-17 00:05:32 +00:00
parent 3042413e36
commit da0370a255

View File

@ -42,7 +42,6 @@
EDELIB_NS_USING(Config) EDELIB_NS_USING(Config)
EDELIB_NS_USING(Resource) EDELIB_NS_USING(Resource)
EDELIB_NS_USING(RES_SYS_ONLY)
EDELIB_NS_USING(file_remove) EDELIB_NS_USING(file_remove)
EDELIB_NS_USING(file_test) EDELIB_NS_USING(file_test)
EDELIB_NS_USING(str_trim) EDELIB_NS_USING(str_trim)
@ -59,11 +58,7 @@ EDELIB_NS_USING(EDBUS_SESSION)
EDELIB_NS_USING(EDBUS_SYSTEM) EDELIB_NS_USING(EDBUS_SYSTEM)
#endif #endif
#ifdef USE_LOCAL_CONFIG
#define CONFIG_GET_STRVAL(object, section, key, buff) object.get(section, key, buff, sizeof(buff)) #define CONFIG_GET_STRVAL(object, section, key, buff) object.get(section, key, buff, sizeof(buff))
#else
# define CONFIG_GET_STRVAL(object, section, key, buff) object.get(section, key, buff, sizeof(buff), RES_SYS_ONLY)
#endif
/* stolen from xfce's xfsm-shutdown-helper */ /* stolen from xfce's xfsm-shutdown-helper */
#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) #if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)