Reuse the content create function for initial dialog creation. (reduces

duplicate code)


SVN revision: 27293
This commit is contained in:
Christopher Michael 2006-11-30 17:36:36 +00:00
parent 085a73731d
commit 1bfbe1d09b
1 changed files with 5 additions and 2 deletions

View File

@ -76,6 +76,8 @@ e_int_border_prop(E_Border *bd)
_create_data(dia, bd);
_bd_go(dia, (void *)0);
/*
o = e_widget_list_add(e_win_evas_get(dia->win), 0, 0);
ob = _bd_icccm_create(dia, NULL);
e_widget_list_object_append(o, ob, 1, 1, 0.0);
@ -86,6 +88,7 @@ e_int_border_prop(E_Border *bd)
e_widget_min_size_get(o, &w, &h);
e_dialog_content_set(dia, o, w, h);
*/
e_dialog_button_add(dia, _("Close"), NULL, _bd_cb_dialog_close, dia);
e_win_centered_set(dia->win, 1);