fix elm box parenting

devs/bu5hm4n/econfigure2
Mike Blumenkrantz 8 years ago
parent 017c2f4d45
commit f691a8fa18
  1. 2
      src/bin/e_gadcon.c
  2. 2
      src/bin/e_ilist.c
  3. 4
      src/bin/e_menu.c
  4. 2
      src/bin/e_widget_list.c
  5. 2
      src/bin/e_widget_toolbar.c
  6. 2
      src/modules/everything/evry_view_help.c
  7. 2
      src/modules/everything/evry_view_tabs.c
  8. 2
      src/modules/fileman/e_fwin_nav.c
  9. 2
      src/modules/fileman_opinfo/e_mod_main.c
  10. 4
      src/modules/ibar/e_mod_main.c
  11. 2
      src/modules/ibox/e_mod_main.c
  12. 2
      src/modules/tasks/e_mod_main.c
  13. 2
      src/modules/winlist/e_winlist.c

@ -1067,7 +1067,7 @@ e_gadcon_client_new(E_Gadcon *gc, const char *name, const char *id __UNUSED__, c
if (gcc->o_frame)
{
edje_object_size_min_calc(gcc->o_frame, &(gcc->pad.w), &(gcc->pad.h));
gcc->o_box = elm_box_add(gcc->gadcon->o_container);
gcc->o_box = elm_box_add(e_win_evas_object_win_get(gcc->gadcon->o_container));
evas_object_event_callback_add(gcc->o_box, EVAS_CALLBACK_DEL, _e_gadcon_client_box_del, gcc);
evas_object_event_callback_add(gcc->o_box, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _e_gadcon_client_box_hints_changed, gcc);
switch (gcc->gadcon->orient)

@ -776,7 +776,7 @@ _e_smart_add(Evas_Object *obj)
sd->typebuf.size = 0;
sd->typebuf.timer = NULL;
sd->o_box = elm_box_add(obj);
sd->o_box = elm_box_add(e_win_evas_win_get(e));
elm_box_align_set(sd->o_box, 0.0, 0.0);
elm_box_homogeneous_set(sd->o_box, 0);
evas_object_smart_member_add(sd->o_box, obj);

@ -1392,7 +1392,7 @@ no_submenu_item:
}
evas_object_show(o);
o = elm_box_add(o);
o = elm_box_add(e_comp->elm);
evas_object_name_set(o, "mi->container_object");
elm_box_homogeneous_set(o, 0);
mi->container_object = o;
@ -1644,7 +1644,7 @@ _e_menu_realize(E_Menu *m)
evas_object_move(m->comp_object, m->cur.x, m->cur.y);
evas_object_resize(m->comp_object, m->cur.w, m->cur.h);
o = elm_box_add(m->comp_object);
o = elm_box_add(e_comp->elm);
evas_object_name_set(o, "menu->container_object");
m->container_object = o;
evas_object_intercept_move_callback_add(o, _e_menu_cb_intercept_container_move, m);

@ -31,7 +31,7 @@ e_widget_list_add(Evas *evas, int homogenous, int horiz)
wd = calloc(1, sizeof(E_Widget_Data));
e_widget_data_set(obj, wd);
o = elm_box_add(obj);
o = elm_box_add(e_win_evas_win_get(evas));
wd->o_box = o;
elm_box_horizontal_set(o, horiz);
elm_box_homogeneous_set(o, homogenous);

@ -55,7 +55,7 @@ e_widget_toolbar_add(Evas *evas, int icon_w, int icon_h)
o = e_scrollframe_add(evas);
wd->o_base = o;
o = elm_box_add(o);
o = elm_box_add(e_win_evas_win_get(evas));
wd->o_box = o;
o = wd->o_base;
e_scrollframe_custom_theme_set(o, "base/theme/widgets", "e/widgets/toolbar");

@ -86,7 +86,7 @@ _view_create(Evry_View *v, const Evry_State *s __UNUSED__, Evas_Object *swallow)
if (v->active) return v;
o = elm_box_add(swallow);
o = elm_box_add(e_win_evas_object_win_get(swallow));
elm_box_horizontal_set(o, 0);
elm_box_align_set(o, 0.5, 1.0);
v->o_list = o;

@ -365,7 +365,7 @@ evry_tab_view_new(Evry_View *view, const Evry_State *s, Evas_Object *parent)
v->state = s;
v->evas = evas_object_evas_get(parent);
o = elm_box_add(parent);
o = elm_box_add(e_win_evas_object_win_get(parent));
elm_box_horizontal_set(o, 1);
elm_box_homogeneous_set(o, 1);
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_WHEEL,

@ -335,7 +335,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
e_scrollframe_thumbscroll_force(inst->o_scroll, 1);
evas_object_show(inst->o_scroll);
inst->o_box = elm_box_add(gc->o_container);
inst->o_box = elm_box_add(e_win_evas_object_win_get(gc->o_container));
evas_object_repeat_events_set(inst->o_box, EINA_TRUE);
elm_box_horizontal_set(inst->o_box, 1);
elm_box_homogeneous_set(inst->o_box, 0);

@ -367,7 +367,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
}
// main object
inst->o_box = elm_box_add(gc->o_container);
inst->o_box = elm_box_add(e_win_evas_object_win_get(gc->o_container));
elm_box_homogeneous_set(inst->o_box, 0);
elm_box_horizontal_set(inst->o_box, 0);
elm_box_align_set(inst->o_box, 0, 0);

@ -402,10 +402,10 @@ _ibar_new(Evas_Object *parent, Instance *inst)
inst->ibar = b;
b->inst = inst;
b->icon_hash = eina_hash_string_superfast_new(NULL);
b->o_outerbox = elm_box_add(parent);
b->o_outerbox = elm_box_add(e_win_evas_object_win_get(parent));
elm_box_horizontal_set(b->o_outerbox, 1);
elm_box_align_set(b->o_outerbox, 0.5, 0.5);
b->o_box = elm_box_add(parent);
b->o_box = elm_box_add(e_win_evas_object_win_get(parent));
E_EXPAND(b->o_box);
E_FILL(b->o_box);
elm_box_homogeneous_set(b->o_box, 1);

@ -319,7 +319,7 @@ _ibox_new(Evas_Object *parent, E_Zone *zone)
IBox *b;
b = E_NEW(IBox, 1);
b->o_box = elm_box_add(parent);
b->o_box = elm_box_add(e_win_evas_object_win_get(parent));
elm_box_homogeneous_set(b->o_box, 1);
elm_box_horizontal_set(b->o_box, 1);
elm_box_align_set(b->o_box, 0.5, 0.5);

@ -363,7 +363,7 @@ _tasks_new(Evas_Object *parent, E_Zone *zone, const char *id)
tasks = E_NEW(Tasks, 1);
tasks->config = _tasks_config_item_get(id);
tasks->o_items = elm_box_add(parent);
tasks->o_items = elm_box_add(e_win_evas_object_win_get(parent));
tasks->horizontal = 1;
EINA_LIST_FOREACH(zone->comp->clients, l, ec)
{

@ -155,7 +155,7 @@ e_winlist_show(E_Zone *zone, E_Winlist_Filter filter)
e_theme_edje_object_set(o, "base/theme/winlist",
"e/widgets/winlist/main");
o = elm_box_add(o);
o = elm_box_add(e_comp->elm);
_list_object = o;
elm_box_homogeneous_set(o, 1);
e_comp_object_util_del_list_append(_winlist, o);

Loading…
Cancel
Save