From ba38a43f52ea9bb26cc7d88f086f40998b118332 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 29 Mar 2016 00:53:55 +1000 Subject: Move all images and models into images and models directories. --- src/extantz/woMan.c | 2 +- src/libraries/winFang.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/extantz/woMan.c b/src/extantz/woMan.c index a7bb4de..caa4db7 100644 --- a/src/extantz/woMan.c +++ b/src/extantz/woMan.c @@ -249,7 +249,7 @@ winFang *woMan_add(globals *ourGlobals) evas_object_size_hint_align_set(nf, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(nf); - sprintf(buf, "%s/%s", prefix_data_get(), img3); + sprintf(buf, "%s/images/%s", prefix_data_get(), img3); 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); // TODO - This strdup leaks, but this is just temporary test code anyway, it will go away. 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); diff --git a/src/libraries/winFang.c b/src/libraries/winFang.c index 4e4e51c..94eb1bd 100644 --- a/src/libraries/winFang.c +++ b/src/libraries/winFang.c @@ -229,9 +229,9 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch // Sort out the background. if (result->parent) - snprintf(buf, sizeof(buf), "%s/sky_04.jpg", prefix_data_get()); + snprintf(buf, sizeof(buf), "%s/images/sky_04.jpg", prefix_data_get()); else - snprintf(buf, sizeof(buf), "%s/sky_03.jpg", prefix_data_get()); + snprintf(buf, sizeof(buf), "%s/images/sky_03.jpg", prefix_data_get()); result->bg = eo_add(ELM_BG_CLASS, obj, evas_obj_size_hint_weight_set(eoid, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), efl_file_set(eoid, buf, NULL), @@ -252,7 +252,7 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch // Evil hacks for no icons, until toolbars get fixed. if (0 == NoIcon[0]) - snprintf(NoIcon, sizeof(NoIcon), "%s/spacer.png", prefix_data_get()); + snprintf(NoIcon, sizeof(NoIcon), "%s/images/spacer.png", prefix_data_get()); /* This aint doing shit. B-( obj = elm_icon_add(obj); elm_icon_order_lookup_set(obj, ELM_ICON_LOOKUP_THEME_FDO); @@ -286,7 +286,7 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_DOWN, _onBgClick, result); // Create corner handles. - snprintf(buf, sizeof(buf), "%s/pt.png", prefix_data_get()); + snprintf(buf, sizeof(buf), "%s/images/pt.png", prefix_data_get()); for (i = 0; i < 4; i++) { int cx = result->x, cy = result->y; -- cgit v1.1