forked from enlightenment/enlightenment
re-enable drag and drop. Turned out to need only minimal adjustments. Not extensively tested, so I'd appreciate it if
people tried if this works like before. SVN revision: 5983
This commit is contained in:
parent
a7e397198d
commit
fd0bd775f6
|
@ -1,3 +1,7 @@
|
||||||
|
2002-02-26 gettextize <bug-gnu-utils@gnu.org>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
||||||
2002-02-24 gettextize <bug-gnu-utils@gnu.org>
|
2002-02-24 gettextize <bug-gnu-utils@gnu.org>
|
||||||
|
|
||||||
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
12
src/icons.c
12
src/icons.c
|
@ -177,7 +177,6 @@ e_icon_move_cb(void *_data, Evas _e, Evas_Object _o, int _b, int _x, int _y)
|
||||||
E_Icon *ic;
|
E_Icon *ic;
|
||||||
Ecore_Event *ev;
|
Ecore_Event *ev;
|
||||||
Ecore_Event_Mouse_Move *e;
|
Ecore_Event_Mouse_Move *e;
|
||||||
#if 0
|
|
||||||
D_ENTER;
|
D_ENTER;
|
||||||
|
|
||||||
ev = e_view_get_current_event();
|
ev = e_view_get_current_event();
|
||||||
|
@ -308,22 +307,22 @@ e_icon_move_cb(void *_data, Evas _e, Evas_Object _o, int _b, int _x, int _y)
|
||||||
&ix, &iy, NULL, NULL);
|
&ix, &iy, NULL, NULL);
|
||||||
icx = ix + v->location.x - wx;
|
icx = ix + v->location.x - wx;
|
||||||
icy = iy + v->location.y - wy;
|
icy = iy + v->location.y - wy;
|
||||||
if (!ic->info.icon)
|
if (!ic->file->info.icon)
|
||||||
{
|
{
|
||||||
D("EEEEEEEEEEK %s has no icon\n", ic->file);
|
D("EEEEEEEEEEK %s has no icon\n", ic->file->file);
|
||||||
D_RETURN;
|
D_RETURN;
|
||||||
}
|
}
|
||||||
if (ic->state.clicked)
|
if (ic->state.clicked)
|
||||||
{
|
{
|
||||||
snprintf(icon, PATH_MAX, "%s:/icon/clicked", ic->info.icon);
|
snprintf(icon, PATH_MAX, "%s:/icon/clicked", ic->file->info.icon);
|
||||||
}
|
}
|
||||||
else if (ic->state.selected)
|
else if (ic->state.selected)
|
||||||
{
|
{
|
||||||
snprintf(icon, PATH_MAX, "%s:/icon/selected", ic->info.icon);
|
snprintf(icon, PATH_MAX, "%s:/icon/selected", ic->file->info.icon);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
snprintf(icon, PATH_MAX, "%s:/icon/normal", ic->info.icon);
|
snprintf(icon, PATH_MAX, "%s:/icon/normal", ic->file->info.icon);
|
||||||
}
|
}
|
||||||
im2 = imlib_load_image(icon);
|
im2 = imlib_load_image(icon);
|
||||||
if (im2)
|
if (im2)
|
||||||
|
@ -405,7 +404,6 @@ e_icon_move_cb(void *_data, Evas _e, Evas_Object _o, int _b, int _x, int _y)
|
||||||
ecore_pointer_xy_get(&x, &y);
|
ecore_pointer_xy_get(&x, &y);
|
||||||
ecore_window_dnd_handle_motion( ic->view->win.base, x, y, 1);
|
ecore_window_dnd_handle_motion( ic->view->win.base, x, y, 1);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
D_RETURN;
|
D_RETURN;
|
||||||
UN(_e);
|
UN(_e);
|
||||||
UN(_o);
|
UN(_o);
|
||||||
|
|
Loading…
Reference in New Issue