aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaun McCance <Shaun McCance>2009-10-06 03:52:46 +0800
committerShaun McCance <shaunm@gnome.org>2009-11-25 05:15:30 +0800
commitbbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49 (patch)
tree97460a5b3ad973cffe00007b6a23eb71a8b0090f
parent43390cb381e1dd4b68771c3c285bc1f5326a5b74 (diff)
downloadgsoc2013-empathy-bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49.tar
gsoc2013-empathy-bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49.tar.gz
gsoc2013-empathy-bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49.tar.bz2
gsoc2013-empathy-bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49.tar.lz
gsoc2013-empathy-bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49.tar.xz
gsoc2013-empathy-bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49.tar.zst
gsoc2013-empathy-bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49.zip
[empathy-chat-window] Documented MOVE/COPY selection in drag_motion
-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);
}