forked from enlightenment/enlightenment
parent
45cce921c8
commit
8f7cd587fc
|
@ -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;
|
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);
|
zone = e_container_zone_at_point_get(drag->container, x, y);
|
||||||
if (zone) e_zone_flip_coords_handle(zone, 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
|
static void
|
||||||
_e_drag_end(int x, int y)
|
_e_drag_end(int x, int y)
|
||||||
{
|
{
|
||||||
|
E_Zone *zone;
|
||||||
Evas_List *l;
|
Evas_List *l;
|
||||||
E_Event_Dnd_Drop *ev;
|
E_Event_Dnd_Drop *ev;
|
||||||
const char *type = NULL;
|
const char *type = NULL;
|
||||||
|
|
||||||
if (!_drag_current) return;
|
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);
|
_e_drag_hide(_drag_current);
|
||||||
|
|
||||||
|
|
|
@ -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 */
|
/* generate the core widget layout for an advanced dialog */
|
||||||
Evas_Object *o, *ob, *of, *ot;
|
Evas_Object *o, *ob, *of, *ot;
|
||||||
E_Radio_Group *rg;
|
|
||||||
|
|
||||||
o = e_widget_list_add(evas, 0, 0);
|
o = e_widget_list_add(evas, 0, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue