summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-11-02 07:33:52 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-11-02 07:33:52 -0400
commitb36ad3c73b17df31c6715eca2a5a04d244dc9847 (patch)
tree9f271dc4d7db211d9c775e24899b9f4b6f734b14 /src/modules
parent753df9742835a383830d95b183642f0eab31e851 (diff)
correct some edje api usage in luncher preview setup
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/luncher/bar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 93ad89f..2cfb1a5 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -789,8 +789,7 @@ _bar_icon_preview_client_add(Icon *ic, E_Client *ec)
789 evas_object_show(label); 789 evas_object_show(label);
790 790
791 img = e_comp_object_util_mirror_add(ec->frame); 791 img = e_comp_object_util_mirror_add(ec->frame);
792 edje_object_update_hints_set(elm_layout_edje_get(img), EINA_TRUE); 792 evas_object_size_hint_aspect_set(img, EDJE_ASPECT_CONTROL_BOTH, ec->client.w, ec->client.h);
793 edje_extern_object_aspect_set(img, EDJE_ASPECT_CONTROL_BOTH, ec->client.w, ec->client.h);
794 evas_object_size_hint_min_set(img, ic->inst->cfg->preview_size, ic->inst->cfg->preview_size); 793 evas_object_size_hint_min_set(img, ic->inst->cfg->preview_size, ic->inst->cfg->preview_size);
795 elm_layout_content_set(layout, "e.swallow.icon", img); 794 elm_layout_content_set(layout, "e.swallow.icon", img);
796 if (evas_object_image_alpha_get(img)) 795 if (evas_object_image_alpha_get(img))