aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 4 insertions, 0 deletions
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);
}