chiark / gitweb /
Merge drag+drop rewrite. It's now possible to drag multiple rows in
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Nov 2009 11:39:38 +0000 (11:39 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Nov 2009 11:39:38 +0000 (11:39 +0000)
one operation in the queue.

1  2 
disobedience/queue-generic.c

index 19cef754de4abc8ead1227c749f8cbd165366bb2,045b38ab104171fb7f4c02cabce9d4aa34991f04..e4af2e34fada45925ab4c089769e9a5f1b388903
  #include "popup.h"
  #include "queue-generic.h"
  
 -static struct queuelike *const queuelikes[] = {
 -  &ql_queue, &ql_recent, &ql_added
 -};
 -#define NQUEUELIKES (sizeof queuelikes / sizeof *queuelikes)
+ static const GtkTargetEntry queuelike_targets[] = {
+   {
+     (char *)"text/x-disorder-track-data", /* drag type */
+     GTK_TARGET_SAME_WIDGET,             /* rearrangement only for now */
+     0                                   /* ID value */
+   },
+ };
  /* Track detail lookup ----------------------------------------------------- */
  
  static void queue_lookups_completed(const char attribute((unused)) *event,