From a0f30eea71e05f114e6a708b07768995c884914c Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 12 May 2014 02:47:54 +1000 Subject: Fix up winFang move and resize. Still more to fix here though. --- src/extantz/woMan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/extantz/woMan.c') diff --git a/src/extantz/woMan.c b/src/extantz/woMan.c index 7e476ea..b2f7ee3 100644 --- a/src/extantz/woMan.c +++ b/src/extantz/woMan.c @@ -184,7 +184,7 @@ winFang *woMan_add(globals *ourGlobals) elm_menu_item_add(menu, menu_it, NULL, "debug settings", NULL, NULL); // The toolbar needs to be packed into the box AFTER the menus are added. - elm_layout_box_append(me->win, BOX, tb); + elm_layout_box_append(me->win, WF_BOX, tb); evas_object_show(tb); gridList = elm_genlist_add(me->win); @@ -267,7 +267,7 @@ winFang *woMan_add(globals *ourGlobals) tab = viewerList; tab_it = elm_naviframe_item_push(nf, NULL, NULL, NULL, tab, NULL); elm_naviframe_item_title_enabled_set(tab_it, EINA_FALSE, EINA_TRUE); elm_toolbar_item_append(tb, NULL, "Viewers", _promote, tab_it); tab = _content_image_new(me->win, strdup(buf)); tab_it = elm_naviframe_item_push(nf, NULL, NULL, NULL, tab, NULL); elm_naviframe_item_title_enabled_set(tab_it, EINA_FALSE, EINA_TRUE); elm_toolbar_item_append(tb, NULL, "Landmarks", _promote, tab_it); tab = gridList; tab_it = elm_naviframe_item_push(nf, NULL, NULL, NULL, tab, NULL); elm_naviframe_item_title_enabled_set(tab_it, EINA_FALSE, EINA_TRUE); elm_toolbar_item_append(tb, NULL, "Grids", _promote, tab_it); - elm_layout_box_append(me->win, BOX, nf); + elm_layout_box_append(me->win, WF_BOX, nf); bt = eo_add(ELM_OBJ_BUTTON_CLASS, me->win, // evas_obj_text_set("Login"), @@ -277,7 +277,7 @@ winFang *woMan_add(globals *ourGlobals) ); elm_object_text_set(bt, "Login"); // No eo interface for this that I can find. // evas_object_smart_callback_add(bt, "clicked", NULL, NULL); - elm_layout_box_append(me->win, BOX, bt); + elm_layout_box_append(me->win, WF_BOX, bt); eo_unref(bt); return me; -- cgit v1.1