[gnome-builder] DocumentationCardPlugin: Reduce dwelltime for DocumentationCard popup
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] DocumentationCardPlugin: Reduce dwelltime for DocumentationCard popup
- Date: Wed, 20 Dec 2017 21:52:44 +0000 (UTC)
commit 1ea78694f9a3e1feaf45dd93dac36c9dba688b2f
Author: Daniel Buch <boogiewasthere gmail com>
Date: Wed Dec 20 21:52:41 2017 +0100
DocumentationCardPlugin: Reduce dwelltime for DocumentationCard popup
.../gbp-documentation-card-view-addin.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/src/plugins/documentation-card/gbp-documentation-card-view-addin.c
b/src/plugins/documentation-card/gbp-documentation-card-view-addin.c
index b87de68..22b1166 100644
--- a/src/plugins/documentation-card/gbp-documentation-card-view-addin.c
+++ b/src/plugins/documentation-card/gbp-documentation-card-view-addin.c
@@ -23,8 +23,7 @@
#include "gbp-documentation-card-view-addin.h"
#include "gbp-documentation-card.h"
-#define POPUP_TIMEOUT 1
-#define POPDOWN_TIMEOUT 500
+#define POPUP_TIMEOUT 600
#define SPACE_TOLERANCE 15
struct _GbpDocumentationCardViewAddin
@@ -236,11 +235,11 @@ motion_notify_event_cb (gpointer data)
if (!self->poped_up)
self->timeout_id =
- gdk_threads_add_timeout_seconds_full (G_PRIORITY_LOW,
- POPUP_TIMEOUT,
- search_document_cb,
- g_object_ref (self),
- g_object_unref);
+ gdk_threads_add_timeout_full (G_PRIORITY_LOW,
+ POPUP_TIMEOUT,
+ search_document_cb,
+ g_object_ref (self),
+ g_object_unref);
else
search_document_cb (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]