[nautilus/gnome-2-32: 10/283] Always return TRUE from drop-motion.



commit 0d67ecbee6145f37db3cb9d95e86df0bd95013a4
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Apr 12 20:00:21 2010 +0200

    Always return TRUE from drop-motion.
    
    Fixes the displaying of a black line when DnD-ing something in the
    sidebar which is not supported (#432529).

 src/nautilus-places-sidebar.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index ed62970..86c412e 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -990,10 +990,11 @@ drag_motion_callback (GtkTreeView *tree_view,
 
 	if (action != 0) {
 		gdk_drag_status (context, action, time);
-		return TRUE;
 	} else {
-		return FALSE;
+		gdk_drag_status (context, 0, time);
 	}
+
+	return TRUE;
 }
 
 static void



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