aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-01-24 06:26:01 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-01-24 06:26:01 +0800
commit2829122e95b3f123487b7928975fa3049af898b5 (patch)
tree96899989f1dd77de59567672ceda6fbb93088b95 /mail/em-folder-tree-model.h
parenta8cd4d5f8e4d1f01b3a7d7f98ad3611aff126a7e (diff)
downloadgsoc2013-evolution-2829122e95b3f123487b7928975fa3049af898b5.tar.gz
gsoc2013-evolution-2829122e95b3f123487b7928975fa3049af898b5.tar.zst
gsoc2013-evolution-2829122e95b3f123487b7928975fa3049af898b5.zip
Removed the drag & drop interfaces, apparently these aren't good enough
2004-01-23 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_get_type): Removed the drag & drop interfaces, apparently these aren't good enough for what we need. Gotta implement this all the Hard Way (tm). (em_folder_tree_model_drag_data_received): Helper function called by the drag_data_received signal callback in em-folder-tree.c (em_folder_tree_model_row_drop_possible): Same idea. (em_folder_tree_model_row_drop_target): Again. (em_folder_tree_model_row_draggable): You get the idea... (em_folder_tree_model_drag_data_get): And again. (em_folder_tree_model_drag_data_delete): Same. (em_folder_tree_model_set_drag_drop_types): Setup the drag & drop types on the widget (since the target drag & drop types are now internal to the model code rathr than the tree code). * em-folder-tree.c (em_folder_tree_enable_drag_and_drop): Rewritten. Connect to all the drag & drop signals and implemnent them. svn path=/trunk/; revision=24393
Diffstat (limited to 'mail/em-folder-tree-model.h')
-rw-r--r--mail/em-folder-tree-model.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/em-folder-tree-model.h b/mail/em-folder-tree-model.h
index fd49bb2f3c..fb0f54a9f0 100644
--- a/mail/em-folder-tree-model.h
+++ b/mail/em-folder-tree-model.h
@@ -116,6 +116,16 @@ 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);
+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);
+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);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */