elm elm_photo.c: Use longpress_timeout configuration for the longpress time out.
SVN revision: 79285
This commit is contained in:
parent
f05a7001f1
commit
4cd319f194
|
@ -179,8 +179,8 @@ _mouse_down(void *data,
|
||||||
if (ev->button != 1) return;
|
if (ev->button != 1) return;
|
||||||
|
|
||||||
if (sd->long_press_timer) ecore_timer_del(sd->long_press_timer);
|
if (sd->long_press_timer) ecore_timer_del(sd->long_press_timer);
|
||||||
/* FIXME: Hard coded timeout */
|
sd->long_press_timer = ecore_timer_add(_elm_config->longpress_timeout,
|
||||||
sd->long_press_timer = ecore_timer_add(0.7, _long_press_cb, data);
|
_long_press_cb, data);
|
||||||
evas_object_event_callback_add
|
evas_object_event_callback_add
|
||||||
(icon, EVAS_CALLBACK_MOUSE_MOVE, _mouse_move, data);
|
(icon, EVAS_CALLBACK_MOUSE_MOVE, _mouse_move, data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue