aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-12-13 17:44:17 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-13 19:17:47 +0900
commitc5b87e27f09a82228c61cd47714cc760ab01132c (patch)
treee087a79d7fbf3c9d68870bcbf35dcd3aa7f10f4b /src/bin/elementary/test.c
parentevas: Fix potential crash with draw context (diff)
downloadefl-c5b87e27f09a82228c61cd47714cc760ab01132c.tar.gz
Diffstat (limited to 'src/bin/elementary/test.c')
-rw-r--r--src/bin/elementary/test.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index 8a592ab7d2..f336c3eb70 100644
--- a/src/bin/elementary/test.c
+++ b/src/bin/elementary/test.c
@@ -507,11 +507,14 @@ _menu_create(const char *option_str)
elm_object_part_content_set(bt, "icon", ic);
evas_object_show(ic);
}
- else if (t->is_eo)
+ if (t->is_eo)
{
- ic = efl_add(EFL_UI_IMAGE_CLASS, win,
- efl_ui_image_icon_set(efl_added, "user-bookmarks"));
- elm_object_part_content_set(bt, "icon", ic);
+ Eo *shadow = efl_ref(efl_part(bt, "shadow"));
+ efl_gfx_color_set(shadow, 0, 128, 255, 255);
+ efl_ui_widget_part_shadow_offset_set(shadow, 0, 0);
+ efl_ui_widget_part_shadow_radius_set(shadow, 3, 3);
+ efl_ui_widget_part_shadow_grow_set(shadow, 2);
+ efl_unref(shadow);
}
elm_box_pack_end(tbx2, bt);
evas_object_show(bt);