[gtk+] Use standard cursor names for DND



commit 4b7c8218fb5aef3aa25c9ca65fd919f9024dad54
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 8 15:36:32 2016 -0500

    Use standard cursor names for DND
    
    At least as far as we have them. CSS has on equivalent of dnd-ask,
    so we keep using that name as-is.

 gtk/gtkdnd.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index e219dd5..0907fd9 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -275,10 +275,10 @@ static struct {
 } drag_cursors[] = {
   { GDK_ACTION_DEFAULT, NULL },
   { GDK_ACTION_ASK,   "dnd-ask",  NULL, NULL },
-  { GDK_ACTION_COPY,  "dnd-copy", NULL, NULL },
-  { GDK_ACTION_MOVE,  "dnd-move", NULL, NULL },
-  { GDK_ACTION_LINK,  "dnd-link", NULL, NULL },
-  { 0              ,  "dnd-none", NULL, NULL },
+  { GDK_ACTION_COPY,  "copy", NULL, NULL },
+  { GDK_ACTION_MOVE,  "move", NULL, NULL },
+  { GDK_ACTION_LINK,  "alias", NULL, NULL },
+  { 0              ,  "no-drop", NULL, NULL },
 };
 
 /*********************


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