]> git.0d.be Git - empathy.git/commitdiff
[empathy-chat-window] Documented MOVE/COPY selection in drag_motion
authorShaun McCance <Shaun McCance>
Mon, 5 Oct 2009 19:52:46 +0000 (14:52 -0500)
committerShaun McCance <shaunm@gnome.org>
Tue, 24 Nov 2009 21:15:30 +0000 (15:15 -0600)
src/empathy-chat-window.c

index 2c6acf75e1aaf6c0a493b7cbe1e7176e3b99c343..a6bd5f259d3db16a0087af4925044be82fb82231 100644 (file)
@@ -1344,6 +1344,10 @@ chat_window_drag_motion (GtkWidget        *widget,
        }
 
        target = gtk_drag_dest_find_target (widget, context, list);
+       /* If target != GDK_NONE, this target type is a type we should move
+          instead of copy.  That's a notebook tab.  Other drag types, such
+          as files or contacts, use copy.
+        */
        if (target == GDK_NONE) {
                gdk_drag_status (context, GDK_ACTION_COPY, time);
        }