projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af088df
)
elm: fix config upgrades for user profiles
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 27 Feb 2018 23:15:10 +0000
(18:15 -0500)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:44 +0000
(20:10 +0900)
loading the system profile only works if the current profile has the
same name as a system profile
src/lib/elementary/elm_config.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_config.c
b/src/lib/elementary/elm_config.c
index
3c955da
..
c8b0262
100644
(file)
--- a/
src/lib/elementary/elm_config.c
+++ b/
src/lib/elementary/elm_config.c
@@
-1744,6
+1744,12
@@
_config_system_load(void)
_elm_profile);
ef = eet_open(buf, EET_FILE_MODE_READ);
+ if (!ef)
+ {
+ _elm_data_dir_snprintf(buf, sizeof(buf), "config/default/base.cfg");
+
+ ef = eet_open(buf, EET_FILE_MODE_READ);
+ }
if (ef)
{
cfg = eet_data_read(ef, _config_edd, "config");