aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-12-03 07:29:09 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-03 07:29:09 +0800
commite0097e7f47f7bdd546b3d705d2dcf0893d29e3a2 (patch)
treea17565bce951eca581d0e76aa00fbec5ce670645 /mail/mail-component.c
parenta0b2261343a7938b4c85f8659216b9df1c81769b (diff)
downloadgsoc2013-evolution-e0097e7f47f7bdd546b3d705d2dcf0893d29e3a2.tar.gz
gsoc2013-evolution-e0097e7f47f7bdd546b3d705d2dcf0893d29e3a2.tar.zst
gsoc2013-evolution-e0097e7f47f7bdd546b3d705d2dcf0893d29e3a2.zip
Moved here. (drop_folder): Moved here. (import_message_rfc822): Moved
2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (drop_uid_list): Moved here. (drop_folder): Moved here. (import_message_rfc822): Moved here. (drop_message_rfc822): Moved here. (drop_text_uri_list): Moved here. (model_drag_data_received): Moved the logic from em-folder-tree.c into here. (model_row_drop_possible): Same. (model_row_draggable): Same. (drag_text_uri_list): Moved here. (model_drag_data_get): Moved logic here. (model_drag_data_delete): Moved logic here. * em-folder-tree.c (drag_data_get_cb): Pass the full_name to camel_store_get_folder() rather than the path. (drag_data_received_cb): Same. (drop_uid_list): Removed. (drop_folder): Removed. (import_message_rfc822): Removed. (drop_message_rfc822): Removed. (drop_text_uri_list): Removed. (drag_data_received_cb): Removed. (row_drop_possible_cb): Removed. (row_draggable_cb): Removed. (drag_text_uri_list): Removed. (drag_data_get_cb): Removed. (drag_data_delete_cb): Removed. (em_folder_tree_enable_drag_and_drop): Don't connect to any of the drag & drop signals, they don't exist anymore. * mail-component.c (impl_createControls): Enable drag-and-drop. * em-folder-tree.c (em_folder_tree_new_with_model): Connect to the loading row signal. (loading_row_cb): Expand the path if needed. (em_folder_tree_destroy): Disconnect from the loading-row signal. (em_folder_tree_enable_drag_and_drop): New function to enable drag-and-drop. (em_folder_tree_new): Remove drag-and-drop setup code. * em-folder-tree-model.c (em_folder_tree_model_class_init): Define the loading-row signal. (em_folder_tree_model_set_folder_info): emit the loading-row signal. svn path=/trunk/; revision=23590
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 0e3318acf9..3967ed8a1b 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -340,6 +340,7 @@ impl_createControls (PortableServer_Servant servant,
view_widget = em_folder_browser_new ();
tree_widget = (GtkWidget *) em_folder_tree_new_with_model (priv->model);
+ em_folder_tree_enable_drag_and_drop ((EMFolderTree *) tree_widget);
em_format_set_session ((EMFormat *) ((EMFolderView *) view_widget)->preview, session);
statusbar_widget = e_task_bar_new ();