[nautilus] Always return TRUE from drop-motion.



commit a051ce374f38b1dc13663f7a099337f39302c5b2
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 15ac322..474aad0 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]