From bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Mon, 5 Oct 2009 14:52:46 -0500 Subject: [empathy-chat-window] Documented MOVE/COPY selection in drag_motion --- src/empathy-chat-window.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/empathy-chat-window.c') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 2c6acf75e..a6bd5f259 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -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); } -- cgit v1.2.3