summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_config.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 8d2545a170..963f17666a 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -777,7 +777,8 @@ _elm_config_profile_derived_save(const char *profile, Elm_Config_Derived *derive
777 eet_close(ef); 777 eet_close(ef);
778 if (ret) 778 if (ret)
779 { 779 {
780 ecore_file_mv(buf, buf2); 780 ecore_file_cp(buf, buf2);
781 ecore_file_unlink(buf);
781 } 782 }
782 else 783 else
783 { 784 {
@@ -2217,7 +2218,7 @@ _elm_config_profile_save(const char *profile)
2217 goto err; 2218 goto err;
2218 } 2219 }
2219 2220
2220 ret = ecore_file_mv(buf2, buf); 2221 ret = ecore_file_cp(buf2, buf);
2221 if (!ret) 2222 if (!ret)
2222 { 2223 {
2223 ERR("Error saving Elementary's configuration profile file"); 2224 ERR("Error saving Elementary's configuration profile file");
@@ -2310,7 +2311,7 @@ _elm_config_save(Elm_Config *cfg, const char *profile)
2310 goto err; 2311 goto err;
2311 } 2312 }
2312 2313
2313 ret = ecore_file_mv(buf2, buf); 2314 ret = ecore_file_cp(buf2, buf);
2314 if (!ret) 2315 if (!ret)
2315 { 2316 {
2316 ERR("Error saving Elementary's configuration file"); 2317 ERR("Error saving Elementary's configuration file");