From 160c161b57595fdae637936c50a162d193f1a982 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 3 May 2014 23:40:48 +1000 Subject: More shuffling of gld -> ourGlobals and related cleanups. --- src/extantz/chat.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/extantz/chat.c') diff --git a/src/extantz/chat.c b/src/extantz/chat.c index 12f4d20..4ad5033 100644 --- a/src/extantz/chat.c +++ b/src/extantz/chat.c @@ -1,6 +1,5 @@ #include "extantz.h" - void chat_add(globals *ourGlobals) { Evas_Object *win, *bx, *en; @@ -8,10 +7,10 @@ void chat_add(globals *ourGlobals) win = fang_win_add(ourGlobals); bx = eo_add(ELM_OBJ_BOX_CLASS, win); - eo_do(bx, + eo_do(bx, evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL) - ); + ); elm_win_resize_object_add(win, bx); en = eo_add(ELM_OBJ_ENTRY_CLASS, win); @@ -22,7 +21,7 @@ void chat_add(globals *ourGlobals) evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL), evas_obj_visibility_set(EINA_TRUE) - ); + ); elm_box_pack_end(bx, en); eo_unref(en); @@ -31,12 +30,12 @@ void chat_add(globals *ourGlobals) eo_do(en, elm_obj_entry_scrollable_set(EINA_TRUE), // TODO - Setting editable to TRUE is what hangs up extantz on exit. -// elm_obj_entry_editable_set(EINA_TRUE), +// elm_obj_entry_editable_set(EINA_TRUE), elm_obj_entry_editable_set(EINA_FALSE), evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL), evas_obj_visibility_set(EINA_TRUE) - ); + ); elm_box_pack_end(bx, en); eo_unref(en); -- cgit v1.1