aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/config.c')
-rw-r--r--src/bin/config.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/bin/config.c b/src/bin/config.c
index 532e00a85..6334c36a5 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -791,6 +791,7 @@ _font_overlay_set_all(void *data,
tc->size = tc_data->size;
}
+ elm_config_all_flush();
elm_config_save();
}
@@ -827,6 +828,7 @@ _font_overlay_reset(void *data,
ELM_LIST_DISABLE(fstyles);
ELM_LIST_DISABLE(fsizes);
+ elm_config_all_flush();
elm_config_save();
}
@@ -866,6 +868,7 @@ _font_overlay_reset_all(void *data,
ELM_LIST_DISABLE(fstyles);
ELM_LIST_DISABLE(fsizes);
+ elm_config_all_flush();
elm_config_save();
}
@@ -893,9 +896,9 @@ _font_overlay_change(void *data __UNUSED__,
elm_config_font_overlay_unset(tc_data->name);
}
- elm_config_save();
elm_config_font_overlay_apply();
elm_config_all_flush();
+ elm_config_save();
/* TODO: apply hinting */
}
@@ -1032,6 +1035,7 @@ _engine_use(void *data,
return;
elm_config_engine_set(selection);
+ elm_config_all_flush();
elm_config_save(); /* make sure new engine has its data dir */
}
@@ -1060,6 +1064,7 @@ _profile_use(void *data,
elm_config_profile_set(selection); /* just here to update info for getters below */
_profile_change_do(elm_object_top_widget_get(li), selection);
+ elm_config_all_flush();
elm_config_save(); /* make sure new profile has its data dir */
}
@@ -1084,6 +1089,7 @@ _profile_reset(void *data,
selection = elm_object_item_data_get(elm_list_selected_item_get(li));
curr = elm_config_profile_get();
+ elm_config_all_flush();
elm_config_save(); /* dump config into old profile's data dir */
pdir = elm_config_profile_dir_get(selection, EINA_TRUE);
@@ -1096,6 +1102,7 @@ _profile_reset(void *data,
elm_config_reload();
_profile_change_do(elm_object_top_widget_get(li), curr);
+ elm_config_all_flush();
elm_config_save(); /* make sure new profile has its data dir */
}
@@ -1112,8 +1119,8 @@ _theme_use(void *data __UNUSED__,
th = elm_object_theme_get(sample);
defth = elm_theme_get(th);
elm_theme_set(NULL, defth);
- elm_config_save();
elm_config_all_flush();
+ elm_config_save();
}
static void