elm genlist/list/gengrid: Removed deprecated signal "clicked". Use
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 7 Jul 2011 12:49:39 +0000 (12:49 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 7 Jul 2011 12:49:39 +0000 (12:49 +0000)
"clicked,double" instead.

The name was wrong and I added a proper signals few months ago. Not I
removed wrong signals.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61115 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_gengrid.c
src/lib/elm_genlist.c
src/lib/elm_list.c

index 95c821a..8589638 100644 (file)
@@ -472,7 +472,6 @@ _event_hook(Evas_Object       *obj,
      {
         item = elm_gengrid_selected_item_get(obj);
         evas_object_smart_callback_call(item->wd->self, SIG_CLICKED_DOUBLE, item);
-        evas_object_smart_callback_call(item->wd->self, "clicked", item); // will be removed
      }
    else return EINA_FALSE;
 
index 1964cba..c948995 100644 (file)
@@ -1418,10 +1418,7 @@ _mouse_down(void        *data,
    _item_highlight(it);
    if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
      if ((!it->disabled) && (!it->display_only))
-       {
-          evas_object_smart_callback_call(it->base.widget, SIG_CLICKED_DOUBLE, it);
-          evas_object_smart_callback_call(it->base.widget, "clicked", it); // will be removed
-       }
+       evas_object_smart_callback_call(it->base.widget, SIG_CLICKED_DOUBLE, it);
    if (it->long_timer) ecore_timer_del(it->long_timer);
    if (it->swipe_timer) ecore_timer_del(it->swipe_timer);
    it->swipe_timer = ecore_timer_add(0.4, _swipe_cancel, it);
index 1f34755..2272fdd 100644 (file)
@@ -931,10 +931,7 @@ _mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void
    it->swipe_timer = ecore_timer_add(0.4, _swipe_cancel, it);
    /* Always call the callbacks last - the user may delete our context! */
    if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
-     {
-        evas_object_smart_callback_call(it->base.widget, SIG_CLICKED_DOUBLE, it);
-        evas_object_smart_callback_call(it->base.widget, "clicked", it); // will be removed
-     }
+     evas_object_smart_callback_call(it->base.widget, SIG_CLICKED_DOUBLE, it);
    wd->swipe = EINA_FALSE;
    wd->movements = 0;