diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-04-02 06:58:10 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-04-02 06:58:10 +0800 |
commit | 3a6dd7931ed7787b49a574ebe69eba5f46289fff (patch) | |
tree | f8bdde77fe6bf3fe9d8f4e68fbdb46df6a7abf56 /widgets/misc/e-attachment-view.h | |
parent | 0485fb58c5beeb04f0b3d833e6b73a2d2ec1acc7 (diff) | |
download | gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.tar gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.tar.gz gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.tar.bz2 gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.tar.lz gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.tar.xz gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.tar.zst gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.zip |
Finish attachment drag and drop.
Expunge em-popup.c of dead code. Not much left.
Kill the save-attachments (experimental) plugin.
The attachment bar can already save all at once.
svn path=/branches/kill-bonobo/; revision=37488
Diffstat (limited to 'widgets/misc/e-attachment-view.h')
-rw-r--r-- | widgets/misc/e-attachment-view.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/widgets/misc/e-attachment-view.h b/widgets/misc/e-attachment-view.h index 16a7ac1967..8b625d0d8a 100644 --- a/widgets/misc/e-attachment-view.h +++ b/widgets/misc/e-attachment-view.h @@ -93,7 +93,11 @@ struct _EAttachmentViewIface { struct _EAttachmentViewPrivate { /* Attachment Handlers */ - GList *handlers; + GPtrArray *handlers; + + /* Drag Destination */ + GtkTargetList *target_list; + GdkDragAction drag_actions; /* Popup Menu Management */ GtkUIManager *ui_manager; @@ -102,12 +106,6 @@ struct _EAttachmentViewPrivate { GtkActionGroup *openwith_actions; guint merge_id; - /* Drag and Drop State */ - GdkDragContext *drag_context; - GtkSelectionData *selection_data; - guint info; - guint time; - guint editable : 1; }; @@ -124,6 +122,10 @@ EAttachmentStore * gboolean e_attachment_view_get_editable (EAttachmentView *view); void e_attachment_view_set_editable (EAttachmentView *view, gboolean editable); +GtkTargetList * e_attachment_view_get_target_list + (EAttachmentView *view); +GdkDragAction e_attachment_view_get_drag_actions + (EAttachmentView *view); GList * e_attachment_view_get_selected_attachments (EAttachmentView *view); void e_attachment_view_open_path (EAttachmentView *view, @@ -182,8 +184,6 @@ void e_attachment_view_drag_data_get (EAttachmentView *view, void e_attachment_view_drag_dest_set (EAttachmentView *view); void e_attachment_view_drag_dest_unset (EAttachmentView *view); -void e_attachment_view_drag_action (EAttachmentView *view, - GdkDragAction action); gboolean e_attachment_view_drag_motion (EAttachmentView *view, GdkDragContext *context, gint x, |