summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-03 11:43:53 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-03 11:43:53 +0000
commit7f9cb37ea0f9c0b07c3b0b9cef811464387ca752 (patch)
tree25c9d97d627bb41bc51f5e8cdd54214b5fa48228
parenta9650209a4c9badc5a86573c9bb38918dd6ab455 (diff)
elm_config: repair configs
Summary: in eec7bc458eee333fd7237a3bd43e8c2c884f21ca the epoch offset was edited, which seems to be wrong, as this caused every single config to be deleted. This also updates the configs in the elementry base configs as they have been forgotten. This brings back the ability to edit the config in elementary_config. Reviewers: segfaultxavi, devilhorns, ManMower, raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7403
-rw-r--r--data/elementary/config/default/base.src.in2
-rw-r--r--data/elementary/config/mobile/base.src.in2
-rw-r--r--data/elementary/config/standard/base.src.in2
-rw-r--r--src/lib/elementary/elm_priv.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/data/elementary/config/default/base.src.in b/data/elementary/config/default/base.src.in
index 1bbbf62bf2..ac33b78c6c 100644
--- a/data/elementary/config/default/base.src.in
+++ b/data/elementary/config/default/base.src.in
@@ -1,5 +1,5 @@
1group "Elm_Config" struct { 1group "Elm_Config" struct {
2 value "config_version" int: 131090; 2 value "config_version" int: 131091;
3 value "entry_select_allow" uchar: 1; 3 value "entry_select_allow" uchar: 1;
4 value "engine" string: ""; 4 value "engine" string: "";
5 value "vsync" uchar: 0; 5 value "vsync" uchar: 0;
diff --git a/data/elementary/config/mobile/base.src.in b/data/elementary/config/mobile/base.src.in
index a2526bc43f..701fbdbfe6 100644
--- a/data/elementary/config/mobile/base.src.in
+++ b/data/elementary/config/mobile/base.src.in
@@ -1,5 +1,5 @@
1group "Elm_Config" struct { 1group "Elm_Config" struct {
2 value "config_version" int: 131090; 2 value "config_version" int: 131091;
3 value "entry_select_allow" uchar: 1; 3 value "entry_select_allow" uchar: 1;
4 value "engine" string: ""; 4 value "engine" string: "";
5 value "vsync" uchar: 0; 5 value "vsync" uchar: 0;
diff --git a/data/elementary/config/standard/base.src.in b/data/elementary/config/standard/base.src.in
index 4a7107ad07..9ddfe6ea9a 100644
--- a/data/elementary/config/standard/base.src.in
+++ b/data/elementary/config/standard/base.src.in
@@ -1,5 +1,5 @@
1group "Elm_Config" struct { 1group "Elm_Config" struct {
2 value "config_version" int: 131090; 2 value "config_version" int: 131091;
3 value "entry_select_allow" uchar: 1; 3 value "entry_select_allow" uchar: 1;
4 value "engine" string: ""; 4 value "engine" string: "";
5 value "vsync" uchar: 0; 5 value "vsync" uchar: 0;
diff --git a/src/lib/elementary/elm_priv.h b/src/lib/elementary/elm_priv.h
index 6b181e8ffb..dbc3511ac9 100644
--- a/src/lib/elementary/elm_priv.h
+++ b/src/lib/elementary/elm_priv.h
@@ -167,7 +167,7 @@ struct _Efl_Ui_Theme_Data
167 * to be put in 167 * to be put in
168 */ 168 */
169# define ELM_CONFIG_FILE_GENERATION 0x0013 169# define ELM_CONFIG_FILE_GENERATION 0x0013
170# define ELM_CONFIG_VERSION_EPOCH_OFFSET 17 170# define ELM_CONFIG_VERSION_EPOCH_OFFSET 16
171# define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \ 171# define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \
172 ELM_CONFIG_FILE_GENERATION) 172 ELM_CONFIG_FILE_GENERATION)
173/* NB: profile configuration files (.src) must have their 173/* NB: profile configuration files (.src) must have their