yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=e810375b379d9b0a06f977754b0ad0346221d843

commit e810375b379d9b0a06f977754b0ad0346221d843
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Wed Sep 2 14:55:21 2015 +0300

    Remove item dragstart callback
    
    THis callback was cancelling dragging in case of idle after drag start.
    This is not useful when you are dragging an object around a canvas
    while looking for place to drop.
---
 src/bin/gui/editor.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index 9e84de1..dbfe0ba 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -2328,19 +2328,6 @@ _objtree_drop_cb(void *data EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED, Elm_Objec
    return EINA_TRUE;
 }
 
-static Eina_Bool
-_3s_timeout_gone(void *data)
-{
-   elm_drag_cancel(data);
-   return ECORE_CALLBACK_CANCEL;
-}
-
-static void
-_gl_dragstart(void *data EINA_UNUSED, Evas_Object *obj)
-{
-   ecore_timer_add(3.0, _3s_timeout_gone, obj);
-}
-
 static Evas_Object *
 _gl_createicon(void *data, Evas_Object *win, Evas_Coord *xoff, Evas_Coord 
*yoff)
 {
@@ -2378,7 +2365,7 @@ _objtree_data_getcb(Evas_Object *obj EINA_UNUSED,  /* The 
genlist object */
    info->format = ELM_SEL_FORMAT_TEXT;
    info->createicon = _gl_createicon;
    info->createdata = it;
-   info->dragstart = _gl_dragstart;
+   info->dragstart = NULL;
    info->icons = NULL;
    info->dragdone = NULL;
 

-- 


Reply via email to