2008-01-17 [colin] 3.2.0cvs47
authorColin Leroy <colin@colino.net>
Thu, 17 Jan 2008 18:25:23 +0000 (18:25 +0000)
committerColin Leroy <colin@colino.net>
Thu, 17 Jan 2008 18:25:23 +0000 (18:25 +0000)
* src/gtk/gtksctree.c
Make dnd threshold higher on Maemo

ChangeLog
PATCHSETS
configure.ac
src/gtk/gtksctree.c

index 3e5d3744d4ce56cd59481cb8573d8e02d2ea735e..7f164acea4fc45c5e4c0c63c79faf0ee6b5c10db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-17 [colin]     3.2.0cvs47
+
+       * src/gtk/gtksctree.c
+               Make dnd threshold higher on Maemo
+
 2008-01-16 [colin]     3.2.0cvs46
 
        * src/common/passcrypt.c
index 27e8dc1bc80104a43091c8e1e9f3fdacd2ed811d..a4a1d846b8984166e6339a5e24325a3ef3ba94ca 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.59.2.63 -r 1.59.2.64 src/prefs_filtering.c;  ) > 3.2.0cvs44.patchset
 ( cvs diff -u -r 1.382.2.430 -r 1.382.2.431 src/compose.c;  cvs diff -u -r 1.395.2.350 -r 1.395.2.351 src/summaryview.c;  ) > 3.2.0cvs45.patchset
 ( cvs diff -u -r 1.3.2.10 -r 1.3.2.11 src/common/passcrypt.c;  ) > 3.2.0cvs46.patchset
+( cvs diff -u -r 1.1.4.41 -r 1.1.4.42 src/gtk/gtksctree.c;  ) > 3.2.0cvs47.patchset
index 5a27d464b40b21aa2eb7666ad2c85bfcfbb8579c..6cca4db52a15b09705ce9decbff5529328278e69 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=2
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=46
+EXTRA_VERSION=47
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 12791e1195481ea4cd8eefd751beba19c6dc56fa..dc7c65085e42ecc8862042feed55f7c291b937c1 100644 (file)
@@ -1762,8 +1762,13 @@ gtk_sctree_motion (GtkWidget *widget, GdkEventMotion *event)
 
        /* This is the same threshold value that is used in gtkdnd.c */
 
+#ifndef MAEMO
+#define THRESHOLD 3
+#else
+#define THRESHOLD 8
+#endif
        if (MAX (ABS (sctree->dnd_press_x - event->x),
-                ABS (sctree->dnd_press_y - event->y)) <= 3)
+                ABS (sctree->dnd_press_y - event->y)) <= THRESHOLD)
                return FALSE;
 
        /* Handle any pending selections */