aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-04 05:50:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-04 05:50:33 +0800
commite7b1590620083b2c32b34b537208d7079fbfb6b8 (patch)
treeb1a7c442b42fb748bac48023df2a8064f97f209a /mail/em-folder-tree-model.h
parent781f20ac48075c6620ae8671f4877cf1f11881e2 (diff)
downloadgsoc2013-evolution-e7b1590620083b2c32b34b537208d7079fbfb6b8.tar.gz
gsoc2013-evolution-e7b1590620083b2c32b34b537208d7079fbfb6b8.tar.zst
gsoc2013-evolution-e7b1590620083b2c32b34b537208d7079fbfb6b8.zip
Modified slightly. The model now calls gtk_drag_finish() for us when it is
2004-02-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_data_received): Modified slightly. The model now calls gtk_drag_finish() for us when it is done. * em-folder-tree-model.c (em_folder_tree_model_drag_data_received): Make this perform camel operations in another thread so we don't block. (em_folder_tree_model_drag_data_get): Updated args to be consistant with drag_data_received. svn path=/trunk/; revision=24595
Diffstat (limited to 'mail/em-folder-tree-model.h')
-rw-r--r--mail/em-folder-tree-model.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/em-folder-tree-model.h b/mail/em-folder-tree-model.h
index 2dbe7a2a5b..71cf0dd4bd 100644
--- a/mail/em-folder-tree-model.h
+++ b/mail/em-folder-tree-model.h
@@ -125,12 +125,13 @@ void em_folder_tree_model_save_expanded (EMFolderTreeModel *model);
void em_folder_tree_model_set_unread_count (EMFolderTreeModel *model, CamelStore *store, const char *path, int unread);
/* Drag & Drop stuff */
-gboolean em_folder_tree_model_drag_data_received (EMFolderTreeModel *model, GtkTreePath *path, GtkSelectionData *selection,
- guint info, gboolean move, gboolean *moved);
+void em_folder_tree_model_drag_data_received (EMFolderTreeModel *model, GdkDragContext *context, GtkTreePath *path,
+ GtkSelectionData *selection, guint info);
GdkDragAction em_folder_tree_model_row_drop_possible (EMFolderTreeModel *model, GtkTreePath *path, GList *targets);
GdkAtom em_folder_tree_model_row_drop_target (EMFolderTreeModel *model, GtkTreePath *path, GList *targets);
gboolean em_folder_tree_model_row_draggable (EMFolderTreeModel *model, GtkTreePath *path);
-gboolean em_folder_tree_model_drag_data_get (EMFolderTreeModel *model, GtkTreePath *path, GtkSelectionData *selection, guint info);
+void em_folder_tree_model_drag_data_get (EMFolderTreeModel *model, GdkDragContext *context, GtkTreePath *path,
+ GtkSelectionData *selection, guint info);
gboolean em_folder_tree_model_drag_data_delete (EMFolderTreeModel *model, GtkTreePath *path);
void em_folder_tree_model_set_drag_drop_types (EMFolderTreeModel *model, GtkWidget *widget);