forked from enlightenment/enlightenment
parent
dc5775e628
commit
68e6b07cd7
|
@ -45,7 +45,6 @@ e_color_dialog_new(E_Container *con, const E_Color *color, Eina_Bool alpha_enabl
|
||||||
/* buttons at the bottom */
|
/* buttons at the bottom */
|
||||||
e_dialog_button_add(dia->dia, _("Select"), NULL, _e_color_dialog_button1_click, dia);
|
e_dialog_button_add(dia->dia, _("Select"), NULL, _e_color_dialog_button1_click, dia);
|
||||||
e_dialog_button_add(dia->dia, _("Cancel"), NULL, _e_color_dialog_button2_click, dia);
|
e_dialog_button_add(dia->dia, _("Cancel"), NULL, _e_color_dialog_button2_click, dia);
|
||||||
e_dialog_resizable_set(dia->dia, 1);
|
|
||||||
e_win_centered_set(dia->dia->win, 1);
|
e_win_centered_set(dia->dia->win, 1);
|
||||||
|
|
||||||
dia->dia->data = dia;
|
dia->dia->data = dia;
|
||||||
|
|
|
@ -792,7 +792,6 @@ _e_desktop_edit_basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
e_util_win_auto_resize_fill(cfd->dia->win);
|
e_util_win_auto_resize_fill(cfd->dia->win);
|
||||||
e_win_centered_set(cfd->dia->win, 1);
|
e_win_centered_set(cfd->dia->win, 1);
|
||||||
|
|
||||||
|
@ -862,7 +861,6 @@ _e_desktop_editor_cb_icon_select(void *data1, void *data2)
|
||||||
_e_desktop_edit_cb_icon_select_ok, cfdata);
|
_e_desktop_edit_cb_icon_select_ok, cfdata);
|
||||||
e_dialog_button_add(dia, _("Cancel"), NULL,
|
e_dialog_button_add(dia, _("Cancel"), NULL,
|
||||||
_e_desktop_edit_cb_icon_select_cancel, cfdata);
|
_e_desktop_edit_cb_icon_select_cancel, cfdata);
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_win_centered_set(dia->win, 1);
|
e_win_centered_set(dia->win, 1);
|
||||||
e_dialog_show(dia);
|
e_dialog_show(dia);
|
||||||
editor->icon_fsel_dia = dia;
|
editor->icon_fsel_dia = dia;
|
||||||
|
@ -926,7 +924,6 @@ _e_desktop_editor_cb_exec_select(void *data1, void *data2)
|
||||||
_e_desktop_edit_cb_exec_select_ok, cfdata);
|
_e_desktop_edit_cb_exec_select_ok, cfdata);
|
||||||
e_dialog_button_add(dia, _("Cancel"), NULL,
|
e_dialog_button_add(dia, _("Cancel"), NULL,
|
||||||
_e_desktop_edit_cb_exec_select_cancel, cfdata);
|
_e_desktop_edit_cb_exec_select_cancel, cfdata);
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_win_centered_set(dia->win, 1);
|
e_win_centered_set(dia->win, 1);
|
||||||
e_dialog_show(dia);
|
e_dialog_show(dia);
|
||||||
editor->exec_fsel_dia = dia;
|
editor->exec_fsel_dia = dia;
|
||||||
|
|
|
@ -9566,7 +9566,6 @@ _e_fm2_view_image_sel(E_Fm2_Smart_Data *sd, const char *title,
|
||||||
|
|
||||||
e_dialog_button_add(dia, _("OK"), NULL, ok_cb, sd);
|
e_dialog_button_add(dia, _("OK"), NULL, ok_cb, sd);
|
||||||
e_dialog_button_add(dia, _("Cancel"), NULL, _e_fm2_view_image_sel_close, sd);
|
e_dialog_button_add(dia, _("Cancel"), NULL, _e_fm2_view_image_sel_close, sd);
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_win_centered_set(dia->win, 1);
|
e_win_centered_set(dia->win, 1);
|
||||||
e_object_data_set(E_OBJECT(dia), sd);
|
e_object_data_set(E_OBJECT(dia), sd);
|
||||||
e_object_del_attach_func_set(E_OBJECT(dia), _image_sel_del);
|
e_object_del_attach_func_set(E_OBJECT(dia), _image_sel_del);
|
||||||
|
|
|
@ -623,7 +623,6 @@ _cb_icon_sel(void *data, void *data2)
|
||||||
|
|
||||||
e_dialog_button_add(dia, _("OK"), NULL, _cb_fsel_ok, cfdata);
|
e_dialog_button_add(dia, _("OK"), NULL, _cb_fsel_ok, cfdata);
|
||||||
e_dialog_button_add(dia, _("Cancel"), NULL, _cb_fsel_cancel, cfdata);
|
e_dialog_button_add(dia, _("Cancel"), NULL, _cb_fsel_cancel, cfdata);
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_util_win_auto_resize_fill(dia->win);
|
e_util_win_auto_resize_fill(dia->win);
|
||||||
e_win_centered_set(dia->win, 1);
|
e_win_centered_set(dia->win, 1);
|
||||||
e_dialog_show(dia);
|
e_dialog_show(dia);
|
||||||
|
|
|
@ -82,7 +82,6 @@ e_int_border_prop(E_Border *bd)
|
||||||
e_win_centered_set(dia->win, 1);
|
e_win_centered_set(dia->win, 1);
|
||||||
e_dialog_show(dia);
|
e_dialog_show(dia);
|
||||||
e_dialog_border_icon_set(dia, "preferences-system-windows");
|
e_dialog_border_icon_set(dia, "preferences-system-windows");
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -210,7 +210,6 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
cfdata->o_desc = ol;
|
cfdata->o_desc = ol;
|
||||||
e_widget_table_object_append(of, ol, 0, 3, 2, 1, 1, 0, 1, 0);
|
e_widget_table_object_append(of, ol, 0, 3, 2, 1, 1, 0, 1, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
e_util_win_auto_resize_fill(cfd->dia->win);
|
e_util_win_auto_resize_fill(cfd->dia->win);
|
||||||
e_win_centered_set(cfd->dia->win, 1);
|
e_win_centered_set(cfd->dia->win, 1);
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,6 @@ _create_dialog(E_Gadcon *gc, const char *title, E_Gadcon_Site site)
|
||||||
e_config_dialog_new(con, title, "E", "_gadcon_config_dialog",
|
e_config_dialog_new(con, title, "E", "_gadcon_config_dialog",
|
||||||
"preferences-desktop-shelf", 0, v, gc);
|
"preferences-desktop-shelf", 0, v, gc);
|
||||||
if (site) gc->config_dialog->cfdata->site = site;
|
if (site) gc->config_dialog->cfdata->site = site;
|
||||||
e_dialog_resizable_set(gc->config_dialog->dia, EINA_TRUE);
|
|
||||||
e_win_centered_set(gc->config_dialog->dia->win, EINA_TRUE);
|
e_win_centered_set(gc->config_dialog->dia->win, EINA_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -728,7 +727,6 @@ _advanced_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
if (cfdata->load_timer) ecore_timer_del(cfdata->load_timer);
|
if (cfdata->load_timer) ecore_timer_del(cfdata->load_timer);
|
||||||
cfdata->load_timer = ecore_timer_add(0.01, _cb_load_timer, cfdata);
|
cfdata->load_timer = ecore_timer_add(0.01, _cb_load_timer, cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, EINA_TRUE);
|
|
||||||
e_win_centered_set(cfd->dia->win, EINA_TRUE);
|
e_win_centered_set(cfd->dia->win, EINA_TRUE);
|
||||||
|
|
||||||
return otb;
|
return otb;
|
||||||
|
@ -763,7 +761,6 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
if (cfdata->load_timer) ecore_timer_del(cfdata->load_timer);
|
if (cfdata->load_timer) ecore_timer_del(cfdata->load_timer);
|
||||||
cfdata->load_timer = ecore_timer_add(0.01, _cb_load_timer, cfdata);
|
cfdata->load_timer = ecore_timer_add(0.01, _cb_load_timer, cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, EINA_TRUE);
|
|
||||||
e_win_centered_set(cfd->dia->win, EINA_TRUE);
|
e_win_centered_set(cfd->dia->win, EINA_TRUE);
|
||||||
|
|
||||||
return ot;
|
return ot;
|
||||||
|
|
|
@ -117,7 +117,6 @@ _TEST(void *d __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||||
e_dialog_button_add(dia, "Add", NULL, _TEST_ADD, o_list);
|
e_dialog_button_add(dia, "Add", NULL, _TEST_ADD, o_list);
|
||||||
e_dialog_button_add(dia, "Del", NULL, _TEST_DEL, o_list);
|
e_dialog_button_add(dia, "Del", NULL, _TEST_DEL, o_list);
|
||||||
e_dialog_content_set(dia, o_list, 100, 300);
|
e_dialog_content_set(dia, o_list, 100, 300);
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_dialog_show(dia);
|
e_dialog_show(dia);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1338,7 +1338,6 @@ _advanced_create_widgets(E_Config_Dialog *cfd,
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
||||||
return tab;
|
return tab;
|
||||||
|
@ -1489,7 +1488,7 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__,
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd,
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED,
|
||||||
Evas *evas,
|
Evas *evas,
|
||||||
E_Config_Dialog_Data *cfdata)
|
E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
|
@ -1546,7 +1545,6 @@ _basic_create_widgets(E_Config_Dialog *cfd,
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
||||||
return tab;
|
return tab;
|
||||||
|
|
|
@ -319,7 +319,6 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
|
||||||
if (cfdata->fill_delay) ecore_timer_del(cfdata->fill_delay);
|
if (cfdata->fill_delay) ecore_timer_del(cfdata->fill_delay);
|
||||||
cfdata->fill_delay = ecore_timer_add(0.2, _cb_fill_delay, cfdata);
|
cfdata->fill_delay = ecore_timer_add(0.2, _cb_fill_delay, cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
e_win_centered_set(cfd->dia->win, 1);
|
e_win_centered_set(cfd->dia->win, 1);
|
||||||
return otb;
|
return otb;
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,6 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
|
||||||
e_widget_disabled_set(ob, 1);
|
e_widget_disabled_set(ob, 1);
|
||||||
e_widget_table_object_append(of, ob, 1, 2, 1, 1, 1, 1, 1, 0);
|
e_widget_table_object_append(of, ob, 1, 2, 1, 1, 1, 1, 1, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
e_win_centered_set(cfd->dia->win, 1);
|
e_win_centered_set(cfd->dia->win, 1);
|
||||||
return of;
|
return of;
|
||||||
}
|
}
|
||||||
|
|
|
@ -359,7 +359,6 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
e_win_centered_set(cfd->dia->win, 1);
|
e_win_centered_set(cfd->dia->win, 1);
|
||||||
return otb;
|
return otb;
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ _apply_cfdata(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ot, *ob;
|
Evas_Object *o, *of, *ot, *ob;
|
||||||
Evas_Coord mw, mh;
|
Evas_Coord mw, mh;
|
||||||
|
@ -157,7 +157,6 @@ _create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
|
|
||||||
_ilist_fill(cfdata);
|
_ilist_fill(cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -381,7 +381,7 @@ _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ob, *ot;
|
Evas_Object *o, *of, *ob, *ot;
|
||||||
E_Radio_Group *rg;
|
E_Radio_Group *rg;
|
||||||
|
@ -493,7 +493,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
}
|
}
|
||||||
|
|
||||||
e_widget_table_object_append(o, ot, 1, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(o, ot, 1, 0, 1, 1, 1, 1, 1, 1);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -247,7 +247,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *ol, *ot, *of, *ob;
|
Evas_Object *o, *ol, *ot, *of, *ob;
|
||||||
|
|
||||||
|
@ -313,7 +313,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
_update_edge_binding_list(cfdata);
|
_update_edge_binding_list(cfdata);
|
||||||
_fill_actions_list(cfdata);
|
_fill_actions_list(cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -792,7 +792,7 @@ _restore_signal_binding_defaults_cb(void *data, void *data2 __UNUSED__)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *ol, *ot, *of, *ob;
|
Evas_Object *o, *ol, *ot, *of, *ob;
|
||||||
|
|
||||||
|
@ -841,7 +841,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
_update_signal_binding_list(cfdata);
|
_update_signal_binding_list(cfdata);
|
||||||
_fill_actions_list(cfdata);
|
_fill_actions_list(cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -279,7 +279,7 @@ _e_imc_setup_cb(void *data, void *data2 __UNUSED__)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ob;
|
Evas_Object *o, *of, *ob;
|
||||||
Eina_List *imc_basic_list;
|
Eina_List *imc_basic_list;
|
||||||
|
@ -384,7 +384,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
e_widget_frametable_object_append(of, ob, 0, 1, 1, 1, 1, 1, 1, 1);
|
e_widget_frametable_object_append(of, ob, 0, 1, 1, 1, 1, 1, 1, 1);
|
||||||
e_widget_framelist_content_align_set(of, 0.0, 0.0);
|
e_widget_framelist_content_align_set(of, 0.0, 0.0);
|
||||||
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -797,7 +796,7 @@ e_int_config_imc_update(E_Config_Dialog *dia, const char *file)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *rt, *ot;
|
Evas_Object *o, *rt, *ot;
|
||||||
Evas_Object *ow, *of;
|
Evas_Object *ow, *of;
|
||||||
|
@ -949,7 +948,6 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
|
||||||
|
|
||||||
e_widget_list_object_append(o, ot, 1, 1, 0.0);
|
e_widget_list_object_append(o, ot, 1, 1, 0.0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
_e_imc_form_fill(cfdata);
|
_e_imc_form_fill(cfdata);
|
||||||
|
|
||||||
|
|
|
@ -1014,7 +1014,7 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfda
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ob, *ic;
|
Evas_Object *o, *of, *ob, *ic;
|
||||||
char *cur_sig_loc;
|
char *cur_sig_loc;
|
||||||
|
@ -1100,12 +1100,11 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
1, 0, 1, 1, 1, 1, 1, 0);
|
1, 0, 1, 1, 1, 1, 1, 0);
|
||||||
e_widget_table_object_append(o, of, 0, 1, 1, 1, 1, 0, 1, 0);
|
e_widget_table_object_append(o, of, 0, 1, 1, 1, 1, 0, 1, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ob;
|
Evas_Object *o, *of, *ob;
|
||||||
const char *lang, *reg, *cs, *mod;
|
const char *lang, *reg, *cs, *mod;
|
||||||
|
@ -1198,7 +1197,6 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
|
||||||
e_widget_on_change_hook_set(cfdata->gui.cs_list, _ilist_codeset_cb_change, cfdata);
|
e_widget_on_change_hook_set(cfdata->gui.cs_list, _ilist_codeset_cb_change, cfdata);
|
||||||
e_widget_on_change_hook_set(cfdata->gui.mod_list, _ilist_modifier_cb_change, cfdata);
|
e_widget_on_change_hook_set(cfdata->gui.mod_list, _ilist_modifier_cb_change, cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,7 @@ _basic_apply(E_Config_Dialog *cfd __UNUSED__,
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd,
|
_basic_create(E_Config_Dialog *cfd EINA_UNUSED,
|
||||||
Evas *evas,
|
Evas *evas,
|
||||||
E_Config_Dialog_Data *cfdata)
|
E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
|
@ -221,7 +221,6 @@ _basic_create(E_Config_Dialog *cfd,
|
||||||
e_widget_table_object_append(ot, ow, 0, 1, 1, 1, 1, 0, 1, 0);
|
e_widget_table_object_append(ot, ow, 0, 1, 1, 1, 1, 0, 1, 0);
|
||||||
e_widget_list_object_append(ol, ot, 1, 1, 0.5);
|
e_widget_list_object_append(ol, ot, 1, 1, 0.5);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return ol;
|
return ol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__,
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd,
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED,
|
||||||
Evas *evas,
|
Evas *evas,
|
||||||
E_Config_Dialog_Data *cfdata)
|
E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
|
@ -278,7 +278,6 @@ _basic_create_widgets(E_Config_Dialog *cfd,
|
||||||
_update_key_binding_list(cfdata, NULL);
|
_update_key_binding_list(cfdata, NULL);
|
||||||
_fill_actions_list(cfdata);
|
_fill_actions_list(cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -276,7 +276,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ot, *ob;
|
Evas_Object *o, *of, *ot, *ob;
|
||||||
E_Radio_Group *rg;
|
E_Radio_Group *rg;
|
||||||
|
@ -367,7 +367,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
_update_mouse_binding_list(cfdata);
|
_update_mouse_binding_list(cfdata);
|
||||||
_fill_actions_list(cfdata);
|
_fill_actions_list(cfdata);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -273,7 +273,7 @@ _unset_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||||
|
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *ol, *oe, *ob, *oc;
|
Evas_Object *o, *ol, *oe, *ob, *oc;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
|
@ -315,6 +315,5 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
ob = e_widget_button_add(evas, _("Delete"), "list-remove", _del_cb, cfdata, NULL);
|
ob = e_widget_button_add(evas, _("Delete"), "list-remove", _del_cb, cfdata, NULL);
|
||||||
e_widget_table_object_append(o, ob, 2, 2, 1, 1, 1, 1, 0, 0);
|
e_widget_table_object_append(o, ob, 2, 2, 1, 1, 1, 1, 0, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
|
@ -155,7 +155,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ob;
|
Evas_Object *o, *of, *ob;
|
||||||
int i;
|
int i;
|
||||||
|
@ -208,7 +208,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
e_widget_framelist_object_append(of, ob);
|
e_widget_framelist_object_append(of, ob);
|
||||||
e_widget_table_object_append(o, of, 1, 0, 1, 2, 0, 1, 0, 1);
|
e_widget_table_object_append(o, of, 1, 0, 1, 2, 0, 1, 0, 1);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
e_widget_framelist_object_append(of, ob);
|
e_widget_framelist_object_append(of, ob);
|
||||||
e_widget_list_object_append(o, of, 1, 0, 0.5);
|
e_widget_list_object_append(o, of, 1, 0, 0.5);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 0);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,6 @@ e_int_config_randr(E_Container *con, const char *params __UNUSED__)
|
||||||
|
|
||||||
/* NB: These are just arbitrary values I picked. Feel free to change */
|
/* NB: These are just arbitrary values I picked. Feel free to change */
|
||||||
e_win_size_min_set(cfd->dia->win, 180, 230);
|
e_win_size_min_set(cfd->dia->win, 180, 230);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,7 +114,7 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *ol, *ow, *ot, *of;
|
Evas_Object *ol, *ow, *ot, *of;
|
||||||
char buf[64];
|
char buf[64];
|
||||||
|
@ -151,7 +151,6 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
_ilist_fill(cfdata);
|
_ilist_fill(cfdata);
|
||||||
e_widget_disabled_set(cfdata->o_add, 0);
|
e_widget_disabled_set(cfdata->o_add, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
return ol;
|
return ol;
|
||||||
}
|
}
|
||||||
|
|
|
@ -191,7 +191,7 @@ _basic_apply_border(E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *ol, *ob, *oj, *orect, *of;
|
Evas_Object *o, *ol, *ob, *oj, *orect, *of;
|
||||||
Evas_Coord w, h;
|
Evas_Coord w, h;
|
||||||
|
@ -256,7 +256,6 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
e_widget_list_object_append(o, ob, 1, 0, 0.0);
|
e_widget_list_object_append(o, ob, 1, 0, 0.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -610,7 +610,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
|
|
||||||
e_widget_list_object_append(ol, cfdata->gui.frame, 1, 0, 0.0);
|
e_widget_list_object_append(ol, cfdata->gui.frame, 1, 0, 0.0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
e_util_win_auto_resize_fill(cfd->dia->win);
|
e_util_win_auto_resize_fill(cfd->dia->win);
|
||||||
e_win_centered_set(cfd->dia->win, 1);
|
e_win_centered_set(cfd->dia->win, 1);
|
||||||
|
|
||||||
|
|
|
@ -413,7 +413,7 @@ _font_hash_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *ot, *ob, *of;
|
Evas_Object *ot, *ob, *of;
|
||||||
|
|
||||||
|
@ -454,7 +454,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
e_widget_disabled_set(cfdata->gui.font_list, !cfdata->cur_enabled);
|
e_widget_disabled_set(cfdata->gui.font_list, !cfdata->cur_enabled);
|
||||||
e_widget_disabled_set(cfdata->gui.size_list, !cfdata->cur_enabled);
|
e_widget_disabled_set(cfdata->gui.size_list, !cfdata->cur_enabled);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return ot;
|
return ot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -613,7 +612,7 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfda
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *ot, *ob, *of, *otb;
|
Evas_Object *ot, *ob, *of, *otb;
|
||||||
E_Radio_Group *rg;
|
E_Radio_Group *rg;
|
||||||
|
@ -717,7 +716,6 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
|
||||||
ot, 1, 0, 1, 0, 0.5, 0.0);
|
ot, 1, 0, 1, 0, 0.5, 0.0);
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return otb;
|
return otb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -325,7 +325,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
e_widget_list_object_append(of, o, 0, 0, 0.5);
|
e_widget_list_object_append(of, o, 0, 0, 0.5);
|
||||||
|
|
||||||
e_widget_table_object_append(ot, of, 1, 0, 1, 1, 0, 0, 0, 0);
|
e_widget_table_object_append(ot, of, 1, 0, 1, 1, 0, 0, 0, 0);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return ot;
|
return ot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -517,7 +517,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
}
|
}
|
||||||
e_widget_table_object_append(ot, of, 1, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(ot, of, 1, 0, 1, 1, 1, 1, 1, 1);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return ot;
|
return ot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1155,7 +1154,6 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
|
||||||
|
|
||||||
/* FIXME this makes the preview disappear at the beginning and
|
/* FIXME this makes the preview disappear at the beginning and
|
||||||
when resizing (Issue is caused by e_widget_aspect i guess) */
|
when resizing (Issue is caused by e_widget_aspect i guess) */
|
||||||
// e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return ot;
|
return ot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -220,7 +220,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
e_widget_framelist_object_append(of, il);
|
e_widget_framelist_object_append(of, il);
|
||||||
e_widget_table_object_append(o, of, 0, 1, 2, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(o, of, 0, 1, 2, 1, 1, 1, 1, 1);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
|
@ -481,7 +481,6 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
evas_object_show(ow);
|
evas_object_show(ow);
|
||||||
e_widget_table_object_append(ot, ow, 0, 2, 2 + online, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(ot, ow, 0, 2, 2 + online, 1, 1, 1, 1, 1);
|
||||||
e_widget_list_object_append(o, ot, 1, 1, 0.5);
|
e_widget_list_object_append(o, ot, 1, 1, 0.5);
|
||||||
e_dialog_resizable_set(cfd->dia, 0);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -606,7 +605,6 @@ _adv_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
e_widget_table_object_append(ot, of, 0, 3, 2 + online, 1, 1, 0, 1, 0);
|
e_widget_table_object_append(ot, of, 0, 3, 2 + online, 1, 1, 0, 1, 0);
|
||||||
|
|
||||||
e_widget_list_object_append(o, ot, 1, 1, 0.0);
|
e_widget_list_object_append(o, ot, 1, 1, 0.0);
|
||||||
e_dialog_resizable_set(cfd->dia, 0);
|
|
||||||
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
|
@ -448,7 +448,7 @@ _icon_theme_changed(void *data, Evas_Object *o __UNUSED__)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *otb, *ol, *ilist, *of, *ow;
|
Evas_Object *otb, *ol, *ilist, *of, *ow;
|
||||||
struct _fill_icon_themes_data *d;
|
struct _fill_icon_themes_data *d;
|
||||||
|
@ -525,7 +525,6 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
_fill_files_ilist(cfdata);
|
_fill_files_ilist(cfdata);
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ e_int_config_remembers(E_Container *con, const char *params __UNUSED__)
|
||||||
cfd = e_config_dialog_new(con, _("Window Remembers"), "E",
|
cfd = e_config_dialog_new(con, _("Window Remembers"), "E",
|
||||||
"windows/window_remembers",
|
"windows/window_remembers",
|
||||||
"preferences-desktop-window-remember", 0, v, NULL);
|
"preferences-desktop-window-remember", 0, v, NULL);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -275,7 +275,6 @@ _dialog_new(E_Connman_Agent *agent)
|
||||||
mh = 130;
|
mh = 130;
|
||||||
e_dialog_content_set(dialog, toolbook, mw, mh);
|
e_dialog_content_set(dialog, toolbook, mw, mh);
|
||||||
e_dialog_show(dialog);
|
e_dialog_show(dialog);
|
||||||
e_dialog_resizable_set(dialog, 1);
|
|
||||||
|
|
||||||
evas_object_event_callback_add(dialog->bg_object, EVAS_CALLBACK_KEY_DOWN,
|
evas_object_event_callback_add(dialog->bg_object, EVAS_CALLBACK_KEY_DOWN,
|
||||||
_dialog_key_down_cb, agent);
|
_dialog_key_down_cb, agent);
|
||||||
|
|
|
@ -69,7 +69,6 @@ e_connman_config_dialog_new(E_Container *con,
|
||||||
(con, _("Connection Manager"),
|
(con, _("Connection Manager"),
|
||||||
_e_connman_Name, "e_connman_config_dialog_new",
|
_e_connman_Name, "e_connman_config_dialog_new",
|
||||||
e_connman_theme_path(), 0, view, ctxt);
|
e_connman_theme_path(), 0, view, ctxt);
|
||||||
e_dialog_resizable_set(dialog->dia, 1);
|
|
||||||
|
|
||||||
return dialog;
|
return dialog;
|
||||||
}
|
}
|
||||||
|
|
|
@ -445,7 +445,7 @@ _create_plugin_page(E_Config_Dialog_Data *cfdata __UNUSED__, Evas *e, Plugin_Pag
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *e, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *e, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ob, *otb, *otb2;
|
Evas_Object *o, *of, *ob, *otb, *otb2;
|
||||||
E_Radio_Group *rg;
|
E_Radio_Group *rg;
|
||||||
|
@ -595,7 +595,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *e, E_Config_Dialog_Data *cfdat
|
||||||
o, 1, 0, 1, 0, 0.5, 0.0);
|
o, 1, 0, 1, 0, 0.5, 0.0);
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
e_dialog_resizable_set(cfd->dia, 0);
|
|
||||||
return otb;
|
return otb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -587,7 +587,6 @@ _conf_dialog(Instance *inst)
|
||||||
inst->cfd = e_config_dialog_new(con, _("Everything Gadgets"), "everything-gadgets",
|
inst->cfd = e_config_dialog_new(con, _("Everything Gadgets"), "everything-gadgets",
|
||||||
"launcher/everything-gadgets", NULL, 0, v, inst);
|
"launcher/everything-gadgets", NULL, 0, v, inst);
|
||||||
|
|
||||||
e_dialog_resizable_set(inst->cfd->dia, 0);
|
|
||||||
/* _conf->cfd = cfd; */
|
/* _conf->cfd = cfd; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1303,7 +1303,6 @@ _conf_dialog(E_Container *con, const char *params __UNUSED__)
|
||||||
cfd = e_config_dialog_new(con, _("Everything Applications"), "everything-apps",
|
cfd = e_config_dialog_new(con, _("Everything Applications"), "everything-apps",
|
||||||
"launcher/everything-apps", _module_icon, 0, v, NULL);
|
"launcher/everything-apps", _module_icon, 0, v, NULL);
|
||||||
|
|
||||||
/* e_dialog_resizable_set(cfd->dia, 1); */
|
|
||||||
_conf->cfd = cfd;
|
_conf->cfd = cfd;
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2502,7 +2502,6 @@ _e_fwin_file_open_dialog(E_Fwin_Page *page,
|
||||||
else return; /* make clang happy */
|
else return; /* make clang happy */
|
||||||
|
|
||||||
e_dialog_title_set(dia, _("Open with..."));
|
e_dialog_title_set(dia, _("Open with..."));
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_dialog_button_add(dia, _("Open"), "document-open",
|
e_dialog_button_add(dia, _("Open"), "document-open",
|
||||||
_e_fwin_cb_open, fad);
|
_e_fwin_cb_open, fad);
|
||||||
e_dialog_button_add(dia, _("Close"), "window-close",
|
e_dialog_button_add(dia, _("Close"), "window-close",
|
||||||
|
|
|
@ -159,7 +159,7 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ol;
|
Evas_Object *o, *of, *ol;
|
||||||
Evas_Object *ob;
|
Evas_Object *ob;
|
||||||
|
@ -183,7 +183,6 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
e_widget_frametable_object_append(of, ob, 1, 1, 1, 1, 1, 1, 1, 0);
|
e_widget_frametable_object_append(of, ob, 1, 1, 1, 1, 1, 1, 1, 0);
|
||||||
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -313,7 +313,6 @@ _cb_icon_sel(void *data, void *data2)
|
||||||
|
|
||||||
e_dialog_button_add(dia, _("OK"), NULL, _cb_fsel_ok, cfdata);
|
e_dialog_button_add(dia, _("OK"), NULL, _cb_fsel_ok, cfdata);
|
||||||
e_dialog_button_add(dia, _("Cancel"), NULL, _cb_fsel_cancel, cfdata);
|
e_dialog_button_add(dia, _("Cancel"), NULL, _cb_fsel_cancel, cfdata);
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_win_centered_set(dia->win, 1);
|
e_win_centered_set(dia->win, 1);
|
||||||
e_dialog_show(dia);
|
e_dialog_show(dia);
|
||||||
e_dialog_border_icon_set(dia, "enlightenment/file_icons");
|
e_dialog_border_icon_set(dia, "enlightenment/file_icons");
|
||||||
|
|
|
@ -164,7 +164,7 @@ _cb_config(void *data, void *data2 __UNUSED__)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *ol, *ob, *ow, *ft, *of, *otb;
|
Evas_Object *o, *ol, *ob, *ow, *ft, *of, *otb;
|
||||||
E_Radio_Group *rg;
|
E_Radio_Group *rg;
|
||||||
|
@ -199,7 +199,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
);
|
);
|
||||||
|
|
||||||
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
e_widget_toolbook_page_append(otb, NULL, _("Layers"), o, 1, 1, 1, 1, 0.5, 0.0);
|
e_widget_toolbook_page_append(otb, NULL, _("Layers"), o, 1, 1, 1, 1, 0.5, 0.0);
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
@ -299,12 +298,10 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
e_widget_frametable_object_append(of, cfdata->o_sf, 0, 2, 2, 1, 1, 1, 1, 1);
|
e_widget_frametable_object_append(of, cfdata->o_sf, 0, 2, 2, 1, 1, 1, 1, 1);
|
||||||
e_widget_table_object_append(ft, of, 2, 0, 1, 3, 1, 1, 1, 1);
|
e_widget_table_object_append(ft, of, 2, 0, 1, 3, 1, 1, 1, 1);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 0);
|
|
||||||
|
|
||||||
e_widget_toolbook_page_append(otb, NULL, _("Background Options"), ft, 0, 0, 0, 0, 0.5, 0.0);
|
e_widget_toolbook_page_append(otb, NULL, _("Background Options"), ft, 0, 0, 0, 0, 0.5, 0.0);
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
return otb;
|
return otb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,6 @@ il_home_config_show(E_Container *con, const char *params __UNUSED__)
|
||||||
cfd = e_config_dialog_new(con, _("Home Settings"), "E",
|
cfd = e_config_dialog_new(con, _("Home Settings"), "E",
|
||||||
"_config_illume_home_settings",
|
"_config_illume_home_settings",
|
||||||
"enlightenment/launcher_settings", 0, v, NULL);
|
"enlightenment/launcher_settings", 0, v, NULL);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
il_home_cfg->cfd = cfd;
|
il_home_cfg->cfd = cfd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,6 @@ il_kbd_config_show(E_Container *con, const char *params __UNUSED__)
|
||||||
cfd = e_config_dialog_new(con, _("Keyboard Settings"), "E",
|
cfd = e_config_dialog_new(con, _("Keyboard Settings"), "E",
|
||||||
"_config_illume_keyboard_settings",
|
"_config_illume_keyboard_settings",
|
||||||
"enlightenment/keyboard_settings", 0, v, NULL);
|
"enlightenment/keyboard_settings", 0, v, NULL);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
il_kbd_cfg->cfd = cfd;
|
il_kbd_cfg->cfd = cfd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ e_mod_illume_config_animation_show(E_Container *con, const char *params __UNUSED
|
||||||
"enlightenment/animation_settings", 0, v, NULL);
|
"enlightenment/animation_settings", 0, v, NULL);
|
||||||
if (!cfd) return;
|
if (!cfd) return;
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* local function prototypes */
|
/* local function prototypes */
|
||||||
|
|
|
@ -33,7 +33,6 @@ e_mod_illume_config_policy_show(E_Container *con, const char *params __UNUSED__)
|
||||||
cfd = e_config_dialog_new(con, _("Policy"), "E", "illume/policy",
|
cfd = e_config_dialog_new(con, _("Policy"), "E", "illume/policy",
|
||||||
"enlightenment/policy", 0, v, NULL);
|
"enlightenment/policy", 0, v, NULL);
|
||||||
if (!cfd) return;
|
if (!cfd) return;
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* local functions */
|
/* local functions */
|
||||||
|
|
|
@ -38,7 +38,6 @@ e_mod_illume_config_windows_show(E_Container *con, const char *params __UNUSED__
|
||||||
"illume/windows",
|
"illume/windows",
|
||||||
"preferences-system-windows", 0, v, NULL);
|
"preferences-system-windows", 0, v, NULL);
|
||||||
if (!cfd) return;
|
if (!cfd) return;
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* local function prototypes */
|
/* local function prototypes */
|
||||||
|
|
|
@ -37,7 +37,6 @@ e_mod_illume_config_select_window(E_Illume_Select_Window_Type type)
|
||||||
"_config_illume_select_window",
|
"_config_illume_select_window",
|
||||||
"enlightenment/windows", 0, v, NULL);
|
"enlightenment/windows", 0, v, NULL);
|
||||||
if (!cfd) return;
|
if (!cfd) return;
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
|
|
|
@ -512,7 +512,6 @@ e_mixer_app_dialog_new(E_Container *con, void (*func)(E_Dialog *dialog, void *da
|
||||||
app->del.func = func;
|
app->del.func = func;
|
||||||
|
|
||||||
e_dialog_title_set(dialog, _(_e_mixer_Name));
|
e_dialog_title_set(dialog, _(_e_mixer_Name));
|
||||||
e_dialog_resizable_set(dialog, 1);
|
|
||||||
|
|
||||||
e_win_delete_callback_set(dialog->win, _cb_win_del);
|
e_win_delete_callback_set(dialog->win, _cb_win_del);
|
||||||
|
|
||||||
|
|
|
@ -377,7 +377,6 @@ e_mixer_config_dialog_new(E_Container *con, E_Mixer_Gadget_Config *conf)
|
||||||
dialog = e_config_dialog_new(con, _("Mixer Settings"),
|
dialog = e_config_dialog_new(con, _("Mixer Settings"),
|
||||||
_e_mixer_Name, "e_mixer_config_dialog_new",
|
_e_mixer_Name, "e_mixer_config_dialog_new",
|
||||||
e_mixer_theme_path(), 0, view, conf);
|
e_mixer_theme_path(), 0, view, conf);
|
||||||
e_dialog_resizable_set(dialog->dia, 1);
|
|
||||||
|
|
||||||
return dialog;
|
return dialog;
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,7 +147,6 @@ _basic_create_widgets(E_Config_Dialog *cfd,
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
||||||
return tab;
|
return tab;
|
||||||
|
|
|
@ -231,7 +231,7 @@ _list_rename(void *data, void *list)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *ob, *ol, *otb, *tab;
|
Evas_Object *ob, *ol, *otb, *tab;
|
||||||
int w, h;
|
int w, h;
|
||||||
|
@ -312,14 +312,13 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
|
||||||
/////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
||||||
return tab;
|
return tab;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *ob, *ol, *otb, *tab;
|
Evas_Object *ob, *ol, *otb, *tab;
|
||||||
|
|
||||||
|
@ -348,7 +347,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
|
|
||||||
e_widget_toolbook_page_show(otb, 0);
|
e_widget_toolbook_page_show(otb, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
|
|
||||||
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(tab, otb, 0, 0, 1, 1, 1, 1, 1, 1);
|
||||||
return tab;
|
return tab;
|
||||||
|
|
|
@ -288,7 +288,6 @@ _win_save_cb(void *data __UNUSED__, void *data2 __UNUSED__)
|
||||||
_file_select_ok_cb, NULL);
|
_file_select_ok_cb, NULL);
|
||||||
e_dialog_button_add(dia, _("Cancel"), NULL,
|
e_dialog_button_add(dia, _("Cancel"), NULL,
|
||||||
_file_select_cancel_cb, NULL);
|
_file_select_cancel_cb, NULL);
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_win_centered_set(dia->win, 1);
|
e_win_centered_set(dia->win, 1);
|
||||||
o = evas_object_rectangle_add(dia->win->evas);
|
o = evas_object_rectangle_add(dia->win->evas);
|
||||||
if (!evas_object_key_grab(o, "Return", mask, ~mask, 0)) printf("grab err\n");
|
if (!evas_object_key_grab(o, "Return", mask, ~mask, 0)) printf("grab err\n");
|
||||||
|
@ -529,7 +528,6 @@ _win_share_cb(void *data __UNUSED__, void *data2 __UNUSED__)
|
||||||
e_dialog_button_add(dia, _("Cancel"), NULL, _upload_cancel_cb, NULL);
|
e_dialog_button_add(dia, _("Cancel"), NULL, _upload_cancel_cb, NULL);
|
||||||
E_LIST_HANDLER_APPEND(handlers, ECORE_CON_EVENT_URL_COMPLETE, _upload_complete_cb, eina_list_last_data_get(dia->buttons));
|
E_LIST_HANDLER_APPEND(handlers, ECORE_CON_EVENT_URL_COMPLETE, _upload_complete_cb, eina_list_last_data_get(dia->buttons));
|
||||||
e_object_del_attach_func_set(E_OBJECT(dia), _win_share_del);
|
e_object_del_attach_func_set(E_OBJECT(dia), _win_share_del);
|
||||||
e_dialog_resizable_set(dia, 1);
|
|
||||||
e_win_centered_set(dia->win, 1);
|
e_win_centered_set(dia->win, 1);
|
||||||
e_dialog_show(dia);
|
e_dialog_show(dia);
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,7 +74,6 @@ _xkb_cfg_dialog(E_Container *con, const char *params __UNUSED__)
|
||||||
"keyboard_and_mouse/xkbswitch",
|
"keyboard_and_mouse/xkbswitch",
|
||||||
"preferences-desktop-keyboard",
|
"preferences-desktop-keyboard",
|
||||||
0, v, NULL);
|
0, v, NULL);
|
||||||
e_dialog_resizable_set(cfd->dia, 1);
|
|
||||||
_xkb.cfd = cfd;
|
_xkb.cfd = cfd;
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
@ -526,7 +525,6 @@ _dlg_add_new(E_Config_Dialog_Data *cfdata)
|
||||||
e_dialog_button_disable_num_set(dlg, 0, 1);
|
e_dialog_button_disable_num_set(dlg, 0, 1);
|
||||||
e_dialog_button_disable_num_set(dlg, 1, 0);
|
e_dialog_button_disable_num_set(dlg, 1, 0);
|
||||||
|
|
||||||
e_dialog_resizable_set(dlg, 1);
|
|
||||||
e_dialog_show(dlg);
|
e_dialog_show(dlg);
|
||||||
|
|
||||||
return dlg;
|
return dlg;
|
||||||
|
|
Loading…
Reference in New Issue