chiark / gitweb /
comments
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 15 Nov 2009 13:14:18 +0000 (13:14 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 15 Nov 2009 13:14:18 +0000 (13:14 +0000)
disobedience/queue-generic.c

index 5a2a8ead5f002728bcfd1a59ca54dc0bf5e38332..7958aff2afebccc2c99e709015c21e3d79b39e53 100644 (file)
@@ -492,7 +492,15 @@ static gboolean ql_drag_motion(GtkWidget *w,
       gtk_tree_view_set_drag_dest_row(GTK_TREE_VIEW(w), NULL, 0);
     }
   }
-  return TRUE;
+  /* TODO _something_ is not quite right here.  Supposedly if action=0 we
+   * should probably be returning FALSE; _but_ actually we always want to
+   * support dropping, as dropping into the big empty space at the bottom
+   * should be the same as dropping at the end of the last row.
+   *
+   * As the code stands the drop works but the visual feedback is not quite
+   * right.
+   */
+  return TRUE;                          /* We are (always) in a drop zone */
 }
 
 /** @brief Called when a drag moves leaves a candidate destination