[nautilus/gnome-2-32: 212/283] Ignore > 2 clicks in the icon container (#621098).



commit 0b74fe334f9c5b5353f8447df977470d13e73dd3
Author: Marcus Carlson <gnomebugzilla mejlamej nu>
Date:   Thu Jul 1 12:36:53 2010 +0200

    Ignore > 2 clicks in the icon container (#621098).

 libnautilus-private/nautilus-icon-container.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index 87a4c7b..061ba88 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -4425,7 +4425,8 @@ clicked_within_double_click_interval (NautilusIconContainer *container)
 	/* Stash time for next compare */
 	last_click_time = current_time;
 
-	return (click_count > 0);
+	/* Only allow double click */
+	return (click_count == 1);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]