From ef3a281adcf3c4138e5979f4b5a6104387199a78 Mon Sep 17 00:00:00 2001 From: hermet Date: Tue, 6 Mar 2012 07:09:57 +0000 Subject: [PATCH] elementary/index - set index visiblility again when style is changed. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68780 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_index.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c index 8373e43..8a374c4 100644 --- a/src/lib/elm_index.c +++ b/src/lib/elm_index.c @@ -177,9 +177,14 @@ _theme_hook(Evas_Object *obj) edje_object_scale_set(wd->base, elm_widget_scale_get(obj) * _elm_config->scale); _sizing_eval(obj); _index_box_auto_fill(obj, wd->bx[0], 0); + if (wd->autohide_disabled) - if (wd->level == 1) - _index_box_auto_fill(obj, wd->bx[1], 1); + { + if (wd->level == 1) _index_box_auto_fill(obj, wd->bx[1], 1); + edje_object_signal_emit(wd->base, "elm,state,active", "elm"); + } + else + edje_object_signal_emit(wd->base, "elm,state,inactive", "elm"); } static void -- 2.7.4