forked from enlightenment/enlightenment
Disable Auto-Apply for these dialogs.
SVN revision: 20495
This commit is contained in:
parent
5621006577
commit
64bf666eaf
|
@ -52,7 +52,7 @@ e_int_config_background(E_Container *con)
|
||||||
v->advanced.apply_cfdata = _advanced_apply_data;
|
v->advanced.apply_cfdata = _advanced_apply_data;
|
||||||
v->advanced.create_widgets = _advanced_create_widgets;
|
v->advanced.create_widgets = _advanced_create_widgets;
|
||||||
v->close_cfdata = _bg_dialog_close;
|
v->close_cfdata = _bg_dialog_close;
|
||||||
|
v->override_auto_apply = 1;
|
||||||
cfd = e_config_dialog_new(con, _("Background Settings"), NULL, 0, v, NULL);
|
cfd = e_config_dialog_new(con, _("Background Settings"), NULL, 0, v, NULL);
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,7 @@ e_int_config_display(E_Container *con)
|
||||||
v->free_cfdata = _free_data;
|
v->free_cfdata = _free_data;
|
||||||
v->basic.apply_cfdata = _basic_apply_data;
|
v->basic.apply_cfdata = _basic_apply_data;
|
||||||
v->basic.create_widgets = _basic_create_widgets;
|
v->basic.create_widgets = _basic_create_widgets;
|
||||||
|
v->override_auto_apply = 1;
|
||||||
|
|
||||||
cfd = e_config_dialog_new(con, _("Display Settings"), NULL, 0, v, NULL);
|
cfd = e_config_dialog_new(con, _("Display Settings"), NULL, 0, v, NULL);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
|
|
|
@ -62,6 +62,7 @@ e_int_config_modules(E_Container *con)
|
||||||
v->free_cfdata = _free_data;
|
v->free_cfdata = _free_data;
|
||||||
v->basic.create_widgets = _basic_create_widgets;
|
v->basic.create_widgets = _basic_create_widgets;
|
||||||
/* v->basic.apply_cfdata = _basic_apply_data; */
|
/* v->basic.apply_cfdata = _basic_apply_data; */
|
||||||
|
v->override_auto_apply = 1;
|
||||||
|
|
||||||
cfd = e_config_dialog_new(con, _("Module Settings"), NULL, 0, v, NULL);
|
cfd = e_config_dialog_new(con, _("Module Settings"), NULL, 0, v, NULL);
|
||||||
return cfd;
|
return cfd;
|
||||||
|
|
|
@ -18,7 +18,6 @@ struct _E_Config_Dialog_Data
|
||||||
char *theme;
|
char *theme;
|
||||||
char *current_theme;
|
char *current_theme;
|
||||||
/*- ADVANCED -*/
|
/*- ADVANCED -*/
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _E_Cfg_Theme_Data
|
struct _E_Cfg_Theme_Data
|
||||||
|
@ -42,6 +41,8 @@ e_int_config_theme(E_Container *con)
|
||||||
v->free_cfdata = _free_data;
|
v->free_cfdata = _free_data;
|
||||||
v->basic.apply_cfdata = _basic_apply_data;
|
v->basic.apply_cfdata = _basic_apply_data;
|
||||||
v->basic.create_widgets = _basic_create_widgets;
|
v->basic.create_widgets = _basic_create_widgets;
|
||||||
|
v->override_auto_apply = 1;
|
||||||
|
|
||||||
/* create config diaolg for NULL object/data */
|
/* create config diaolg for NULL object/data */
|
||||||
cfd = e_config_dialog_new(con, _("Theme Selector"), NULL, 0, v, NULL);
|
cfd = e_config_dialog_new(con, _("Theme Selector"), NULL, 0, v, NULL);
|
||||||
return cfd;
|
return cfd;
|
||||||
|
|
Loading…
Reference in New Issue