[empathy: 12/17] [empathy-chat-window] Documented MOVE/COPY selection in drag_motion
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy: 12/17] [empathy-chat-window] Documented MOVE/COPY selection in drag_motion
- Date: Mon, 30 Nov 2009 15:09:37 +0000 (UTC)
commit bbe8c4eadaf0aadd45b3f70cb55dfad44bd4ba49
Author: Shaun McCance <Shaun McCance>
Date: Mon Oct 5 14:52:46 2009 -0500
[empathy-chat-window] Documented MOVE/COPY selection in drag_motion
src/empathy-chat-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 2c6acf7..a6bd5f2 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]