summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2017-09-05 22:41:30 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2017-09-15 15:40:40 +0300
commit1a9e739ebc03f42ea364b108c9cbaf8ed005d55c (patch)
treec1ceaab4657eb8c32d9df058d4bef7c32c904e17 /src
parentf179d32157ca4bf006a287901834aa2d7c344dc5 (diff)
Tests: fix remote image
URL was wrong as the server seems down. Additionally, the two last lines have been swapped so the application seems normal and not stretched.
Diffstat (limited to 'src')
-rw-r--r--src/bin/elementary/test_image.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/elementary/test_image.c b/src/bin/elementary/test_image.c
index fd59a63c56..922a8a98fe 100644
--- a/src/bin/elementary/test_image.c
+++ b/src/bin/elementary/test_image.c
@@ -304,7 +304,8 @@ test_remote_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
304 elm_entry_single_line_set(o, 1); 304 elm_entry_single_line_set(o, 1);
305 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); 305 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0);
306 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); 306 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
307 elm_object_text_set(o, "http://41.media.tumblr.com/29f1ecd4f98aaff73fb21f479b450d4c/tumblr_mqsxdciQmB1rrju89o1_1280.jpg"); 307 //elm_object_text_set(o, "http://41.media.tumblr.com/29f1ecd4f98aaff73fb21f479b450d4c/tumblr_mqsxdciQmB1rrju89o1_1280.jpg");
308 elm_object_text_set(o, "http://68.media.tumblr.com/d14765b2cc4ec25d1e7d640f3ec77a40/tumblr_ohtpjtRNlm1rrju89o1_500.jpg");
308 evas_object_smart_callback_add(o, "activated", _url_activate_cb, win); 309 evas_object_smart_callback_add(o, "activated", _url_activate_cb, win);
309 elm_box_pack_end(box2, o); 310 elm_box_pack_end(box2, o);
310 evas_object_show(o); 311 evas_object_show(o);
@@ -315,8 +316,8 @@ test_remote_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
315 // set file now 316 // set file now
316 _url_activate_cb(win, o, NULL); 317 _url_activate_cb(win, o, NULL);
317 318
318 evas_object_resize(win, 320, 480);
319 evas_object_show(win); 319 evas_object_show(win);
320 evas_object_resize(win, 320, 480);
320} 321}
321 322
322static void 323static void