elm_config: repair configs
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Mon, 3 Dec 2018 11:43:53 +0000 (11:43 +0000)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:52:40 +0000 (14:52 +0900)
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

data/elementary/config/default/base.src.in
data/elementary/config/mobile/base.src.in
data/elementary/config/standard/base.src.in
src/lib/elementary/elm_priv.h

index 6cd7836..ebcd424 100644 (file)
@@ -1,5 +1,5 @@
 group "Elm_Config" struct {
-  value "config_version" int: 131090;
+  value "config_version" int: 131091;
   value "entry_select_allow" uchar: 1;
   value "engine" string: "";
   value "vsync" uchar: 0;
index a2526bc..701fbdb 100644 (file)
@@ -1,5 +1,5 @@
 group "Elm_Config" struct {
-  value "config_version" int: 131090;
+  value "config_version" int: 131091;
   value "entry_select_allow" uchar: 1;
   value "engine" string: "";
   value "vsync" uchar: 0;
index 4d8c486..56aa773 100644 (file)
@@ -1,5 +1,5 @@
 group "Elm_Config" struct {
-  value "config_version" int: 131090;
+  value "config_version" int: 131091;
   value "entry_select_allow" uchar: 1;
   value "engine" string: "";
   value "vsync" uchar: 0;
index 8c2ed8e..a28d02d 100644 (file)
@@ -170,7 +170,7 @@ struct _Efl_Ui_Theme_Data
  * to be put in
  */
 # define ELM_CONFIG_FILE_GENERATION 0x0013
-# define ELM_CONFIG_VERSION_EPOCH_OFFSET 17
+# define ELM_CONFIG_VERSION_EPOCH_OFFSET 16
 # define ELM_CONFIG_VERSION         ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \
                                      ELM_CONFIG_FILE_GENERATION)
 /* NB: profile configuration files (.src) must have their