forked from enlightenment/enlightenment
manage corresponding elm profiles when changing e profiles in cfg dialog
This commit is contained in:
parent
1902befc92
commit
1677ba7034
|
@ -85,6 +85,7 @@ _apply_cfdata(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
|||
|
||||
e_config_save_flush();
|
||||
e_config_profile_set(cfdata->sel_profile);
|
||||
elm_config_profile_set(cfdata->sel_profile);
|
||||
e_config_profile_save();
|
||||
e_config_save_block_set(1);
|
||||
|
||||
|
@ -421,6 +422,9 @@ _new_profile_cb_ok(void *data, char *text)
|
|||
e_config_profile_set(text);
|
||||
e_config_save();
|
||||
e_config_profile_set(cur_profile);
|
||||
|
||||
if (!elm_config_profile_exists(cur_profile))
|
||||
elm_config_profile_save(cur_profile);
|
||||
}
|
||||
|
||||
_ilist_fill(cfdata);
|
||||
|
|
Loading…
Reference in New Issue