dont display indicator if no items in index.

SVN revision: 62801
This commit is contained in:
Carsten Haitzler 2011-08-25 10:29:08 +00:00
parent 62b4440c3c
commit 0f71296a93
1 changed files with 2 additions and 1 deletions

View File

@ -442,7 +442,8 @@ _mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *eve
_sel_eval(data, ev->canvas.x, ev->canvas.y);
edje_object_part_drag_value_set(wd->base, "elm.dragable.pointer",
(!edje_object_mirrored_get(wd->base)) ? wd->dx : (wd->dx - w), wd->dy);
edje_object_signal_emit(wd->base, "elm,indicator,state,active", "elm");
if (wd->items)
edje_object_signal_emit(wd->base, "elm,indicator,state,active", "elm");
}
static void