use longpress timer config value
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 11 Oct 2011 21:28:31 +0000 (21:28 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 11 Oct 2011 21:28:31 +0000 (21:28 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63995 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_web.c

index 64e72bb..e392624 100644 (file)
@@ -298,7 +298,7 @@ _view_smart_mouse_down(Ewk_View_Smart_Data *esd, const Evas_Event_Mouse_Down *ev
      return _parent_sc.mouse_down(esd, event);
 
    sd->mouse.pan_anim = ecore_animator_add(_view_pan_animator, sd);
      return _parent_sc.mouse_down(esd, event);
 
    sd->mouse.pan_anim = ecore_animator_add(_view_pan_animator, sd);
-   sd->mouse.longpress_timer = ecore_timer_add(1.0, _view_longpress_timer, sd);
+   sd->mouse.longpress_timer = ecore_timer_add(_elm_config->longpress_timeout, _view_longpress_timer, sd);
    sd->mouse.move_count = 1;
    sd->mouse.x = event->canvas.x;
    sd->mouse.y = event->canvas.y;
    sd->mouse.move_count = 1;
    sd->mouse.x = event->canvas.x;
    sd->mouse.y = event->canvas.y;