From 7723c202dc471c68f478b3cfd5051d70bb2b0b1e Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Tue, 06 Nov 2012 11:09:21 +0000 Subject: SugarLongPressController: default the trigger_delay property to 600ms We do set this in the toolkit now [1]. [1] http://git.sugarlabs.org/sugar-toolkit-gtk3/sugar-toolkit-gtk3/commit/8f4474f3f5ecd4db1622ad9967a928d16be82b54 Signed-off-by: Simon Schampijer Acked-by: Manuel QuiƱones --- diff --git a/palettes.py b/palettes.py index a01234d..03cfef3 100644 --- a/palettes.py +++ b/palettes.py @@ -79,7 +79,7 @@ class ContentInvoker(Invoker): Gdk.EventMask.POINTER_MOTION_MASK | Gdk.EventMask.TOUCH_MASK) - lp = SugarGestures.LongPressController(trigger_delay=500) + lp = SugarGestures.LongPressController() lp.connect('pressed', self.__long_pressed_cb) lp.attach(browser, SugarGestures.EventControllerFlags.NONE) -- cgit v0.9.1