aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-view.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-21 05:02:47 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-21 05:05:37 +0800
commitca4937f8f76ed57b3ab7a00b3de8a721321f4ba6 (patch)
treee462b131e66f7146f6c673897bb81fbad63a3736 /widgets/misc/e-attachment-view.h
parent077c5ca3abc299f41c74d48958477fa574d1824c (diff)
downloadgsoc2013-evolution-ca4937f8f76ed57b3ab7a00b3de8a721321f4ba6.tar.gz
gsoc2013-evolution-ca4937f8f76ed57b3ab7a00b3de8a721321f4ba6.tar.zst
gsoc2013-evolution-ca4937f8f76ed57b3ab7a00b3de8a721321f4ba6.zip
Bug 608855 - Can't drag and drop multiple attachments
Based on EggTreeMultiDragSource in libegg.
Diffstat (limited to 'widgets/misc/e-attachment-view.h')
-rw-r--r--widgets/misc/e-attachment-view.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/misc/e-attachment-view.h b/widgets/misc/e-attachment-view.h
index 89d2d28664..071de0705a 100644
--- a/widgets/misc/e-attachment-view.h
+++ b/widgets/misc/e-attachment-view.h
@@ -103,6 +103,12 @@ struct _EAttachmentViewPrivate {
GtkUIManager *ui_manager;
guint merge_id;
+ /* Multi-DnD State */
+ GList *event_list;
+ GList *selected;
+ gint start_x;
+ gint start_y;
+
guint editable : 1;
};
@@ -139,6 +145,9 @@ gboolean e_attachment_view_button_press_event
gboolean e_attachment_view_button_release_event
(EAttachmentView *view,
GdkEventButton *event);
+gboolean e_attachment_view_motion_notify_event
+ (EAttachmentView *view,
+ GdkEventMotion *event);
gboolean e_attachment_view_key_press_event
(EAttachmentView *view,
GdkEventKey *event);