aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/woMan.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-02 19:52:58 +1000
committerDavid Walter Seikel2014-05-02 19:52:58 +1000
commitbb23c72a3ef3e460c8b88230354af65e78240d49 (patch)
tree0caabb852301d0310ed61168be6a0daacdb0ad9f /src/extantz/woMan.c
parentMinor clean ups of the overlay comments. (diff)
downloadSledjHamr-bb23c72a3ef3e460c8b88230354af65e78240d49.zip
SledjHamr-bb23c72a3ef3e460c8b88230354af65e78240d49.tar.gz
SledjHamr-bb23c72a3ef3e460c8b88230354af65e78240d49.tar.bz2
SledjHamr-bb23c72a3ef3e460c8b88230354af65e78240d49.tar.xz
Major cleanup of extantz, part one.
Diffstat (limited to '')
-rw-r--r--src/extantz/woMan.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/extantz/woMan.c b/src/extantz/woMan.c
index 6eac003..3bb42fe 100644
--- a/src/extantz/woMan.c
+++ b/src/extantz/woMan.c
@@ -274,9 +274,6 @@ void woMan_add(GLData *gld)
274 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); 274 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);
275 elm_box_pack_end(bx, nf); 275 elm_box_pack_end(bx, nf);
276 276
277#if USE_EO
278 // Not ready for prime time yet, or I'm missing a step. Causes it to hang after closing the window.
279 // Slightly better now, it bitches instead of hanging.
280 bt = eo_add(ELM_OBJ_BUTTON_CLASS, win); 277 bt = eo_add(ELM_OBJ_BUTTON_CLASS, win);
281 elm_object_text_set(bt, "Login"); // No eo interface for this that I can find. 278 elm_object_text_set(bt, "Login"); // No eo interface for this that I can find.
282 eo_do(bt, 279 eo_do(bt,
@@ -285,15 +282,9 @@ void woMan_add(GLData *gld)
285 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, 0.0), 282 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, 0.0),
286 evas_obj_visibility_set(EINA_TRUE) 283 evas_obj_visibility_set(EINA_TRUE)
287 ); 284 );
288#else
289 bt = elm_button_add(win);
290 elm_object_text_set(bt, "Login");
291 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
292 evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0);
293 evas_object_show(bt);
294#endif
295// evas_object_smart_callback_add(bt, "clicked", NULL, NULL); 285// evas_object_smart_callback_add(bt, "clicked", NULL, NULL);
296 elm_box_pack_end(bx, bt); 286 elm_box_pack_end(bx, bt);
287 eo_unref(bt);
297 evas_object_show(bx); 288 evas_object_show(bx);
298 289
299 fang_win_complete(gld, win, 30, 30, gld->win_w / 3, gld->win_h / 3); 290 fang_win_complete(gld, win, 30, 30, gld->win_w / 3, gld->win_h / 3);