From c46b85271c5749c19b122936a0fdb3ff8a753990 Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Thu, 20 Jun 2013 15:47:09 +0900 Subject: [PATCH] [toolbar] improved focus UI action Change-Id: I5df29b28d5b4258cc8a1a1a189882cb73475ceef --- src/lib/elm_toolbar.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index 7ee2a16..8324707 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -1126,6 +1126,7 @@ _elm_toolbar_smart_theme(Evas_Object *obj) { Elm_Toolbar_Item *it; double scale = 0; + const char *str; ELM_TOOLBAR_DATA_GET(obj, sd); @@ -1139,6 +1140,12 @@ _elm_toolbar_smart_theme(Evas_Object *obj) (obj, ELM_WIDGET_DATA(sd)->resize_obj, "toolbar", "base", elm_widget_style_get(obj)); + str = edje_object_data_get(ELM_WIDGET_DATA(sd)->resize_obj, "focus_highlight"); + if ((str) && (!strcmp(str, "on"))) + elm_widget_highlight_in_theme_set(obj, EINA_TRUE); + else + elm_widget_highlight_in_theme_set(obj, EINA_FALSE); + elm_layout_theme_set (sd->more, "toolbar", "more", elm_widget_style_get(obj)); -- 2.7.4