[gtk+/wip/matthiasc/touch-selection] entry: Shorten touch selection timeout
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/touch-selection] entry: Shorten touch selection timeout
- Date: Mon, 8 Jun 2015 01:26:28 +0000 (UTC)
commit 35f4ba6c4d01121114128e1b9f55ae3042dd6192
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 7 13:55:09 2015 -0400
entry: Shorten touch selection timeout
gtk/gtkentry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index baa5a66..8813486 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -9825,7 +9825,7 @@ bubble_targets_received (GtkClipboard *clipboard,
}
static gboolean
-gtk_entry_selection_bubble_popup_cb (gpointer user_data)
+gtk_entry_selection_bubble_popup_show (gpointer user_data)
{
GtkEntry *entry = user_data;
@@ -9864,7 +9864,7 @@ gtk_entry_selection_bubble_popup_set (GtkEntry *entry)
g_source_remove (priv->selection_bubble_timeout_id);
priv->selection_bubble_timeout_id =
- gdk_threads_add_timeout (1000, gtk_entry_selection_bubble_popup_cb, entry);
+ gdk_threads_add_timeout (50, gtk_entry_selection_bubble_popup_show, entry);
g_source_set_name_by_id (priv->selection_bubble_timeout_id, "[gtk+] gtk_entry_selection_bubble_popup_cb");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]