various config dialogs which contained tall/wide lists are now resizable
SVN revision: 80311
This commit is contained in:
parent
b7830bc206
commit
a83a32a2f9
|
@ -240,11 +240,12 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *otb, *ot;
|
Evas_Object *otb, *ot;
|
||||||
int mw;
|
int mw;
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
otb = e_widget_toolbook_add(evas, 24, 24);
|
otb = e_widget_toolbook_add(evas, 24, 24);
|
||||||
|
|
||||||
if (cfdata->data->show_autostart)
|
if (cfdata->data->show_autostart)
|
||||||
|
|
|
@ -68,7 +68,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 __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *of, *li, *ob;
|
Evas_Object *of, *li, *ob;
|
||||||
Evas_Coord mw, mh;
|
Evas_Coord mw, mh;
|
||||||
|
|
|
@ -283,12 +283,13 @@ _sel_mime_cb(void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *otb, *ot, *ob, *of, *il;
|
Evas_Object *otb, *ot, *ob, *of, *il;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
Config_Mime *m;
|
Config_Mime *m;
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
otb = e_widget_toolbook_add(evas, 24, 24);
|
otb = e_widget_toolbook_add(evas, 24, 24);
|
||||||
|
|
||||||
ot = e_widget_table_add(evas, EINA_FALSE);
|
ot = e_widget_table_add(evas, EINA_FALSE);
|
||||||
|
|
|
@ -94,12 +94,13 @@ _apply_cfdata(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_create_widgets(E_Config_Dialog *cfd, 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;
|
||||||
char buf[PATH_MAX];
|
char buf[PATH_MAX];
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
o = e_widget_list_add(evas, 0, 0);
|
o = e_widget_list_add(evas, 0, 0);
|
||||||
|
|
||||||
of = e_widget_framelist_add(evas, _("Available Profiles"), 0);
|
of = e_widget_framelist_add(evas, _("Available Profiles"), 0);
|
||||||
|
|
|
@ -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 EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd, 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;
|
||||||
|
@ -1023,6 +1023,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
|
||||||
char buf[PATH_MAX];
|
char buf[PATH_MAX];
|
||||||
|
|
||||||
cfdata->evas = evas;
|
cfdata->evas = evas;
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
o = e_widget_table_add(evas, 0);
|
o = e_widget_table_add(evas, 0);
|
||||||
of = e_widget_framelist_add(evas, _("Language Selector"), 0);
|
of = e_widget_framelist_add(evas, _("Language Selector"), 0);
|
||||||
ob = e_widget_ilist_add(evas, 16, 16, &(cfdata->cur_blang));
|
ob = e_widget_ilist_add(evas, 16, 16, &(cfdata->cur_blang));
|
||||||
|
@ -1104,13 +1105,13 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_advanced_create_widgets(E_Config_Dialog *cfd, 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;
|
||||||
|
|
||||||
cfdata->evas = evas;
|
cfdata->evas = evas;
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
_intl_current_locale_setup(cfdata);
|
_intl_current_locale_setup(cfdata);
|
||||||
|
|
||||||
o = e_widget_table_add(evas, 0);
|
o = e_widget_table_add(evas, 0);
|
||||||
|
|
|
@ -155,11 +155,12 @@ _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 EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *o, *of, *ob;
|
Evas_Object *o, *of, *ob;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
o = e_widget_table_add(evas, 0);
|
o = e_widget_table_add(evas, 0);
|
||||||
|
|
||||||
of = e_widget_framelist_add(evas, _("Enlightenment Paths"), 0);
|
of = e_widget_framelist_add(evas, _("Enlightenment Paths"), 0);
|
||||||
|
|
|
@ -191,7 +191,7 @@ _basic_apply_border(E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd, 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;
|
||||||
|
@ -199,6 +199,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
|
||||||
int n = 1, sel = 0;
|
int n = 1, sel = 0;
|
||||||
const char *str, *tmp;
|
const char *str, *tmp;
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
if (cfdata->border)
|
if (cfdata->border)
|
||||||
tmp = cfdata->border->client.border.name;
|
tmp = cfdata->border->client.border.name;
|
||||||
else
|
else
|
||||||
|
|
|
@ -529,6 +529,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
const Eina_List *l;
|
const Eina_List *l;
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
cfdata->gui.evas = evas;
|
cfdata->gui.evas = evas;
|
||||||
|
|
||||||
ol = e_widget_list_add(evas, 0, 0);
|
ol = e_widget_list_add(evas, 0, 0);
|
||||||
|
|
|
@ -413,12 +413,13 @@ _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 EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *ot, *ob, *of;
|
Evas_Object *ot, *ob, *of;
|
||||||
|
|
||||||
cfdata->evas = evas;
|
cfdata->evas = evas;
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
ot = e_widget_table_add(evas, 0);
|
ot = e_widget_table_add(evas, 0);
|
||||||
|
|
||||||
cfdata->gui.class_list = NULL;
|
cfdata->gui.class_list = NULL;
|
||||||
|
|
|
@ -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 EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd, 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;
|
||||||
|
@ -524,7 +524,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
|
||||||
1, 1, 1, 1, 0.5, 0.0);
|
1, 1, 1, 1, 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);
|
||||||
|
|
||||||
_fill_files_ilist(cfdata);
|
_fill_files_ilist(cfdata);
|
||||||
|
|
||||||
|
|
|
@ -108,11 +108,12 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Evas_Object *ol, *of2, *ow;
|
Evas_Object *ol, *of2, *ow;
|
||||||
Evas_Coord mw, mh;
|
Evas_Coord mw, mh;
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
ol = e_widget_list_add(evas, 0, 0);
|
ol = e_widget_list_add(evas, 0, 0);
|
||||||
|
|
||||||
ow = e_widget_check_add(evas, _("Remember internal dialogs"),
|
ow = e_widget_check_add(evas, _("Remember internal dialogs"),
|
||||||
|
|
|
@ -231,11 +231,12 @@ _list_rename(void *data, void *list)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_advanced_create_widgets(E_Config_Dialog *cfd, 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;
|
||||||
|
|
||||||
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
tab = e_widget_table_add(evas, 0);
|
tab = e_widget_table_add(evas, 0);
|
||||||
evas_object_name_set(tab, "dia_table");
|
evas_object_name_set(tab, "dia_table");
|
||||||
|
|
||||||
|
|
|
@ -215,10 +215,13 @@ _basic_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
|
Evas_Object *mainn;
|
||||||
|
|
||||||
/* Holds the dialog contents, displays a toolbar on the top */
|
/* Holds the dialog contents, displays a toolbar on the top */
|
||||||
Evas_Object *mainn = e_widget_toolbook_add(evas, 24, 24);
|
e_dialog_resizable_set(cfd->dia, 1);
|
||||||
|
mainn = e_widget_toolbook_add(evas, 24, 24);
|
||||||
{
|
{
|
||||||
/* Holds the used layouts ilist and the button table */
|
/* Holds the used layouts ilist and the button table */
|
||||||
Evas_Object *layoutss;
|
Evas_Object *layoutss;
|
||||||
|
|
Loading…
Reference in New Issue