forked from enlightenment/enlightenment
After complaining about this, I realized I was guilty of cut'n'paste as
much as anyone. SVN revision: 19958
This commit is contained in:
parent
a9b4d794a2
commit
58da3b51f2
|
@ -22,18 +22,19 @@ void
|
||||||
_e_app_error_dialog(E_Container *con, E_App_Autopsy *app)
|
_e_app_error_dialog(E_Container *con, E_App_Autopsy *app)
|
||||||
{
|
{
|
||||||
E_Config_Dialog *cfd;
|
E_Config_Dialog *cfd;
|
||||||
E_Config_Dialog_View v;
|
E_Config_Dialog_View *v;
|
||||||
|
|
||||||
|
v = E_NEW(E_Config_Dialog_View, 1); /* FIXME: Currenly this never gets free'd, awaiting the outcome of mailing list discussion. */
|
||||||
/* Dialog Methods */
|
/* Dialog Methods */
|
||||||
v.create_cfdata = _e_app_error_dialog_create_data;
|
v->create_cfdata = _e_app_error_dialog_create_data;
|
||||||
v.free_cfdata = _e_app_error_dialog_free_data;
|
v->free_cfdata = _e_app_error_dialog_free_data;
|
||||||
v.basic.apply_cfdata = NULL;
|
// v->basic.apply_cfdata = NULL;
|
||||||
v.basic.create_widgets = _e_app_error_dialog_basic_create_widgets;
|
v->basic.create_widgets = _e_app_error_dialog_basic_create_widgets;
|
||||||
v.advanced.apply_cfdata = NULL;
|
// v->advanced.apply_cfdata = NULL;
|
||||||
v.advanced.create_widgets = _e_app_error_dialog_advanced_create_widgets;
|
v->advanced.create_widgets = _e_app_error_dialog_advanced_create_widgets;
|
||||||
|
|
||||||
/* Create The Dialog */
|
/* Create The Dialog */
|
||||||
cfd = e_config_dialog_new(con, _("Run error, wtf? That sux."), NULL, 0, &v, app);
|
cfd = e_config_dialog_new(con, _("Run error, wtf? That sux."), NULL, 0, v, app);
|
||||||
app->error_dialog = cfd;
|
app->error_dialog = cfd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue