Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_dnd.c e_int_config_desks.c 


Log Message:
Stop flip timer on drag end.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_dnd.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- e_dnd.c     10 Aug 2006 05:01:07 -0000      1.43
+++ e_dnd.c     10 Aug 2006 11:04:13 -0000      1.44
@@ -466,7 +466,6 @@
    
    if (((drag->x + drag->dx) == x) && ((drag->y + drag->dy) == y)) return;
 
-   //FIXME: I think the timer needs to be cleaned up by passing (-1, -1) 
someplace
    zone = e_container_zone_at_point_get(drag->container, x, y);
    if (zone) e_zone_flip_coords_handle(zone, x, y);
    
@@ -547,11 +546,15 @@
 static void
 _e_drag_end(int x, int y)
 {
+   E_Zone *zone;
    Evas_List *l;
    E_Event_Dnd_Drop *ev;
    const char *type = NULL;
 
    if (!_drag_current) return;
+   zone = e_container_zone_at_point_get(_drag_current->container, x, y);
+   /* Pass -1, -1, so that it is possible to drop at the edge. */
+   if (zone) e_zone_flip_coords_handle(zone, -1, -1);
 
    _e_drag_hide(_drag_current);
 
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_desks.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_int_config_desks.c        10 Aug 2006 05:01:07 -0000      1.17
+++ e_int_config_desks.c        10 Aug 2006 11:04:13 -0000      1.18
@@ -179,7 +179,6 @@
 {
    /* generate the core widget layout for an advanced dialog */
    Evas_Object *o, *ob, *of, *ot;
-   E_Radio_Group *rg; 
    
    o = e_widget_list_add(evas, 0, 0);
    



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to