aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/woMan.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-01-21 12:28:42 +1000
committerDavid Walter Seikel2016-01-21 12:28:42 +1000
commitb4ed410b9133c692fc20171ef3061f8b0b912d95 (patch)
treea7c1eda6b3f349e6c411f64ce9d763c7f7a593e9 /src/extantz/woMan.c
parentCommenting out no longer needed code, which I should probably just delete soon. (diff)
downloadSledjHamr-b4ed410b9133c692fc20171ef3061f8b0b912d95.zip
SledjHamr-b4ed410b9133c692fc20171ef3061f8b0b912d95.tar.gz
SledjHamr-b4ed410b9133c692fc20171ef3061f8b0b912d95.tar.bz2
SledjHamr-b4ed410b9133c692fc20171ef3061f8b0b912d95.tar.xz
Evil hack around ELM's problem with lack of toolbar item icons.
Diffstat (limited to 'src/extantz/woMan.c')
-rw-r--r--src/extantz/woMan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extantz/woMan.c b/src/extantz/woMan.c
index 42390cc..c867241 100644
--- a/src/extantz/woMan.c
+++ b/src/extantz/woMan.c
@@ -250,10 +250,10 @@ winFang *woMan_add(globals *ourGlobals)
250 evas_object_show(nf); 250 evas_object_show(nf);
251 251
252 sprintf(buf, "%s/%s", prefix_data_get(), img3); 252 sprintf(buf, "%s/%s", prefix_data_get(), img3);
253 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); 253 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, NoIcon, "Viewers", _promote, tab_it);
254 // TODO - This strdup leaks, but this is just temporary test code anyway, it will go away. 254 // TODO - This strdup leaks, but this is just temporary test code anyway, it will go away.
255 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); 255 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, NoIcon, "Landmarks", _promote, tab_it);
256 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); 256 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, NoIcon, "Grids", _promote, tab_it);
257 elm_layout_box_append(me->win, WF_BOX, nf); 257 elm_layout_box_append(me->win, WF_BOX, nf);
258 258
259 bt = eo_add(ELM_BUTTON_CLASS, me->win, 259 bt = eo_add(ELM_BUTTON_CLASS, me->win,