forked from enlightenment/efl
[elm] Bumping config file as to accomodate for
prefs module new entry. SVN revision: 79915
This commit is contained in:
parent
6063c0dc5d
commit
c8c5454d39
|
@ -1317,7 +1317,7 @@ _config_update(void)
|
||||||
{
|
{
|
||||||
/* weird profile or something? We should probably fill
|
/* weird profile or something? We should probably fill
|
||||||
* with hardcoded defaults, or get from default previx */
|
* with hardcoded defaults, or get from default previx */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#define IFCFG(v) if ((_elm_config->config_version & 0xffff) < (v)) {
|
#define IFCFG(v) if ((_elm_config->config_version & 0xffff) < (v)) {
|
||||||
#define IFCFGELSE } else {
|
#define IFCFGELSE } else {
|
||||||
|
@ -1334,6 +1334,28 @@ _config_update(void)
|
||||||
COPYVAL(longpress_timeout);
|
COPYVAL(longpress_timeout);
|
||||||
IFCFGEND;
|
IFCFGEND;
|
||||||
|
|
||||||
|
IFCFG(0x0004);
|
||||||
|
|
||||||
|
#define PREFS_IFACE_MODULE_STR "prefs>prefs_iface"
|
||||||
|
|
||||||
|
const char *new = NULL;
|
||||||
|
if (!_elm_config->modules)
|
||||||
|
new = eina_stringshare_add(PREFS_IFACE_MODULE_STR);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!strstr(_elm_config->modules, PREFS_IFACE_MODULE_STR))
|
||||||
|
new = eina_stringshare_printf
|
||||||
|
("%s:%s", orig_modules, PREFS_IFACE_MODULE_STR);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (new)
|
||||||
|
{
|
||||||
|
eina_stringshare_del(_elm_config->modules);
|
||||||
|
_elm_config->modules = new;
|
||||||
|
}
|
||||||
|
|
||||||
|
IFCFGEND;
|
||||||
|
|
||||||
#undef COPYSTR
|
#undef COPYSTR
|
||||||
#undef COPYPTR
|
#undef COPYPTR
|
||||||
#undef COPYVAL
|
#undef COPYVAL
|
||||||
|
|
|
@ -113,7 +113,7 @@ struct _Elm_Theme
|
||||||
* the users config doesn't need to be wiped - simply new values need
|
* the users config doesn't need to be wiped - simply new values need
|
||||||
* to be put in
|
* to be put in
|
||||||
*/
|
*/
|
||||||
#define ELM_CONFIG_FILE_GENERATION 0x0003
|
#define ELM_CONFIG_FILE_GENERATION 0x0004
|
||||||
#define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << 16) | \
|
#define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << 16) | \
|
||||||
ELM_CONFIG_FILE_GENERATION)
|
ELM_CONFIG_FILE_GENERATION)
|
||||||
/* NB: profile configuration files (.src) must have their
|
/* NB: profile configuration files (.src) must have their
|
||||||
|
|
Loading…
Reference in New Issue