summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2018-11-23 11:12:01 +0000
committerCedric BAIL <cedric@osg.samsung.com>2018-11-28 16:22:14 -0800
commit6c4e49d970ca6046780ba1b9fb226f465d14a497 (patch)
tree2e536d50c5caf948ead30d5371d2a6338da4b4ff /src/lib/elementary
parent30db122db48906d1bcf495b7dda199db23beb7d4 (diff)
elm_config: remove profile name reading logic from data dir
Nothing writes any profile name on profile.cfg inside data dir This patch removes the logic. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7351
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_config.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index bf950e53be..8d2545a170 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -1454,14 +1454,9 @@ _profile_fetch_from_conf(void)
1454 } 1454 }
1455 } 1455 }
1456 1456
1457 for (i = 0; i < 2 && !_use_build_config; i++) 1457 if(!_use_build_config)
1458 { 1458 {
1459 // user profile 1459 _elm_config_user_dir_snprintf(buf, sizeof(buf), "config/profile.cfg");
1460 if (i == 0)
1461 _elm_config_user_dir_snprintf(buf, sizeof(buf), "config/profile.cfg");
1462 // system profile
1463 else if (i == 1)
1464 _elm_data_dir_snprintf(buf, sizeof(buf), "config/profile.cfg");
1465 ef = eet_open(buf, EET_FILE_MODE_READ); 1460 ef = eet_open(buf, EET_FILE_MODE_READ);
1466 if (ef) 1461 if (ef)
1467 { 1462 {