summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 19:41:12 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-01 10:09:37 +0900
commit66a355d5655c616c584ecad299129790690ce140 (patch)
tree7e88dbe64fedf1bef43bb13a432dde3fc7afb31a
parentf4ed430ddc153582da2aee84ea209959bf6e51f4 (diff)
downloadefl-66a355d5655c616c584ecad299129790690ce140.tar.gz
elm_test: Scale down icon by 8x
This makes the icon test actually work. Otherwise the icon data is too big and basically seems ignored by the compositor or X. Note: In E (X11) it seems that the window icon remains unchanged? xprop shows the proper data, though. Ping @zmike.
-rw-r--r--src/bin/elementary/test_icon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/elementary/test_icon.c b/src/bin/elementary/test_icon.c
index 832eebb209..9fa7dc7afe 100644
--- a/src/bin/elementary/test_icon.c
+++ b/src/bin/elementary/test_icon.c
@@ -109,6 +109,7 @@ test_icon(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info
/* Set window icon too */
ic = evas_object_image_filled_add(evas_object_evas_get(win));
+ evas_object_image_load_scale_down_set(ic, 8);
evas_object_image_file_set(ic, buf, NULL);
elm_win_icon_object_set(win, ic);
evas_object_show(ic);