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.
This commit is contained in:
Jean-Philippe Andre 2017-08-31 19:41:12 +09:00
parent f4ed430ddc
commit 66a355d565
1 changed files with 1 additions and 0 deletions

View File

@ -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);