aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-20 06:01:22 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-20 06:01:22 +0800
commita5efc9cddddd1386c3adfa6cbaa358a7b7d6968f (patch)
treea9c95ab0609559ed1983f07d2078bd5fae997244 /shell/e-storage-set-view.c
parentd634c1e15e08bec61d6880baf8a3c76eff22fffb (diff)
downloadgsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar
gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.gz
gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.bz2
gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.lz
gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.xz
gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.zst
gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.zip
Pass the @folder_type to ::handleDrop.
* e-storage-set-view.c (tree_drag_data_received): Pass the @folder_type to ::handleDrop. * evolution-shell-component-dnd.c (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion): New arg @folder_type. (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop): Likewise. * evolution-shell-component-dnd.h: Add @folder_type to `DndDestinationFolderHandleDropFn' and `DndDestinationFolderHandleMotionFn'. * e-storage-set-view.c (tree_drag_motion): Pass the folder type to `::handleMotion'. * Evolution-ShellComponentDnd.idl: Pass @folder_type in ::handleDrop and ::handleMotion. * component-factory.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. * gui/component/addressbook-component.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. svn path=/trunk/; revision=13807
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 15f9206915..9b7365e796 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -1099,6 +1099,7 @@ tree_drag_motion (ETree *tree,
can_handle = GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion (destination_folder_interface,
e_folder_get_physical_uri (folder),
+ e_folder_get_type_string (folder),
&corba_context,
&suggested_action,
&ev);
@@ -1252,6 +1253,7 @@ tree_drag_data_received (ETree *etree,
/* pass off the data to the component's DestinationFolderInterface */
handled = GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop (destination_folder_interface,
e_folder_get_physical_uri (folder),
+ e_folder_get_type_string (folder),
&corba_context,
convert_gdk_drag_action_to_corba (context->action),
&corba_data,