forked from enlightenment/enlightenment
Added config options for cfgdlg_auto_apply and cfgdlg_default_mode. Bumped config version
SVN revision: 20490
This commit is contained in:
parent
66733cebc9
commit
e40da56cb3
|
@ -425,7 +425,10 @@ e_config_init(void)
|
||||||
E_CONFIG_VAL(D, T, exebuf_pos_max_h, INT);
|
E_CONFIG_VAL(D, T, exebuf_pos_max_h, INT);
|
||||||
E_CONFIG_LIST(D, T, color_classes, _e_config_color_class_edd);
|
E_CONFIG_LIST(D, T, color_classes, _e_config_color_class_edd);
|
||||||
E_CONFIG_VAL(D, T, use_app_icon, INT);
|
E_CONFIG_VAL(D, T, use_app_icon, INT);
|
||||||
|
E_CONFIG_VAL(D, T, cfgdlg_auto_apply, INT);
|
||||||
|
E_CONFIG_VAL(D, T, cfgdlg_default_mode, INT);
|
||||||
E_CONFIG_LIST(D, T, gadcons, _e_config_gadcon_edd);
|
E_CONFIG_LIST(D, T, gadcons, _e_config_gadcon_edd);
|
||||||
|
|
||||||
e_config = e_config_domain_load("e", _e_config_edd);
|
e_config = e_config_domain_load("e", _e_config_edd);
|
||||||
if (e_config)
|
if (e_config)
|
||||||
{
|
{
|
||||||
|
@ -573,6 +576,8 @@ e_config_init(void)
|
||||||
e_config->exebuf_pos_max_h = 320;
|
e_config->exebuf_pos_max_h = 320;
|
||||||
e_config->color_classes = NULL;
|
e_config->color_classes = NULL;
|
||||||
e_config->use_app_icon = 0;
|
e_config->use_app_icon = 0;
|
||||||
|
e_config->cfgdlg_auto_apply = 0;
|
||||||
|
e_config->cfgdlg_default_mode = 0;
|
||||||
e_config->gadcons = NULL;
|
e_config->gadcons = NULL;
|
||||||
|
|
||||||
/* FIXME: fill up default gadcons! */
|
/* FIXME: fill up default gadcons! */
|
||||||
|
@ -1599,6 +1604,8 @@ e_config_init(void)
|
||||||
E_CONFIG_LIMIT(e_config->menu_eap_generic_show, 0, 1);
|
E_CONFIG_LIMIT(e_config->menu_eap_generic_show, 0, 1);
|
||||||
E_CONFIG_LIMIT(e_config->menu_eap_comment_show, 0, 1);
|
E_CONFIG_LIMIT(e_config->menu_eap_comment_show, 0, 1);
|
||||||
E_CONFIG_LIMIT(e_config->use_app_icon, 0, 1);
|
E_CONFIG_LIMIT(e_config->use_app_icon, 0, 1);
|
||||||
|
E_CONFIG_LIMIT(e_config->cfgdlg_auto_apply, 0, 1);
|
||||||
|
E_CONFIG_LIMIT(e_config->cfgdlg_default_mode, 0, 1);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ typedef Eet_Data_Descriptor E_Config_DD;
|
||||||
* versioning feature. the value of this is really irrelevant - just as
|
* versioning feature. the value of this is really irrelevant - just as
|
||||||
* long as it increases every time we change something
|
* long as it increases every time we change something
|
||||||
*/
|
*/
|
||||||
#define E_CONFIG_FILE_VERSION 136
|
#define E_CONFIG_FILE_VERSION 137
|
||||||
|
|
||||||
#define E_EVAS_ENGINE_DEFAULT 0
|
#define E_EVAS_ENGINE_DEFAULT 0
|
||||||
#define E_EVAS_ENGINE_SOFTWARE_X11 1
|
#define E_EVAS_ENGINE_SOFTWARE_X11 1
|
||||||
|
@ -204,6 +204,8 @@ struct _E_Config
|
||||||
int exebuf_pos_max_h; // GUI
|
int exebuf_pos_max_h; // GUI
|
||||||
Evas_List *color_classes;
|
Evas_List *color_classes;
|
||||||
int use_app_icon; // GUI
|
int use_app_icon; // GUI
|
||||||
|
int cfgdlg_auto_apply; // GUI
|
||||||
|
int cfgdlg_default_mode; // GUI
|
||||||
Evas_List *gadcons;
|
Evas_List *gadcons;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue