aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-05-05 06:25:21 +0800
committerChris Toshok <toshok@src.gnome.org>2001-05-05 06:25:21 +0800
commitd56b9ce7fb81fc8f464976cf97ff463de7a15d3d (patch)
tree35f9713ca90f382ff0e37391520edd2901461f1c /shell/e-storage-set-view.c
parent2eae085ea98f26e3f23e74b4b40e458cbe532efd (diff)
downloadgsoc2013-evolution-d56b9ce7fb81fc8f464976cf97ff463de7a15d3d.tar.gz
gsoc2013-evolution-d56b9ce7fb81fc8f464976cf97ff463de7a15d3d.tar.zst
gsoc2013-evolution-d56b9ce7fb81fc8f464976cf97ff463de7a15d3d.zip
take a physical_uri and pass it to the callback.
2001-05-04 Chris Toshok <toshok@ximian.com> * evolution-shell-component-dnd.c (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion): take a physical_uri and pass it to the callback. (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop): same. * evolution-shell-component-dnd.h: add physical_uri args to the destination folder HandleMotion and HandleDrop types. * Evolution-ShellComponentDnd.idl: add "in string physical_uri" to DestinationFolder::handleMotion and DestinationFolder::handleDrop. * e-storage-set-view.c (tree_drag_motion): pass the physical uri of the folder to handleMotion. svn path=/trunk/; revision=9678
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index d2097683d8..efac355c0c 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -1076,6 +1076,7 @@ tree_drag_motion (ETree *tree,
unsigned int time)
{
EStorageSetView *storage_set_view;
+ EFolder *folder;
EStorageSetViewPrivate *priv;
EvolutionShellComponentClient *component_client;
GNOME_Evolution_ShellComponentDnd_DestinationFolder destination_folder_interface;
@@ -1111,7 +1112,10 @@ tree_drag_motion (ETree *tree,
corba_context.possibleActions = convert_gdk_drag_action_to_corba (context->actions);
corba_context.suggestedAction = convert_gdk_drag_action_to_corba (context->suggested_action);
+ folder = get_folder_at_node (storage_set_view, path);
+
can_handle = GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion (destination_folder_interface,
+ e_folder_get_physical_uri (folder),
&corba_context,
&suggested_action,
&ev);