From 8f7cd587fcb24d7cfff63bbb567978b0222a7f7f Mon Sep 17 00:00:00 2001 From: sebastid Date: Thu, 10 Aug 2006 11:04:13 +0000 Subject: [PATCH] Stop flip timer on drag end. SVN revision: 24529 --- src/bin/e_dnd.c | 5 ++++- src/bin/e_int_config_desks.c | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index 930f18f79..d1baf1673 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -466,7 +466,6 @@ _e_drag_move(E_Drag *drag, int x, int y) 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 @@ _e_drag_update(int x, int y) 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); diff --git a/src/bin/e_int_config_desks.c b/src/bin/e_int_config_desks.c index 5c1010459..28630d372 100644 --- a/src/bin/e_int_config_desks.c +++ b/src/bin/e_int_config_desks.c @@ -179,7 +179,6 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data { /* 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);