From d56b9ce7fb81fc8f464976cf97ff463de7a15d3d Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 4 May 2001 22:25:21 +0000 Subject: take a physical_uri and pass it to the callback. 2001-05-04 Chris Toshok * 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 --- shell/evolution-shell-component-dnd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shell/evolution-shell-component-dnd.c') diff --git a/shell/evolution-shell-component-dnd.c b/shell/evolution-shell-component-dnd.c index e8963406fe..c434ff4611 100644 --- a/shell/evolution-shell-component-dnd.c +++ b/shell/evolution-shell-component-dnd.c @@ -287,6 +287,7 @@ dnd_destination_destroy (GtkObject *object) /* CORBA interface */ static CORBA_boolean impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion (PortableServer_Servant servant, + const CORBA_char* physical_uri, const GNOME_Evolution_ShellComponentDnd_DestinationFolder_Context * destination_context, GNOME_Evolution_ShellComponentDnd_Action * suggested_action, CORBA_Environment * ev) { @@ -298,11 +299,12 @@ impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion (PortableS folder = EVOLUTION_SHELL_COMPONENT_DND_DESTINATION_FOLDER (bonobo_object); priv = folder->priv; - return priv->handle_motion (folder, destination_context, suggested_action, priv->user_data); + return priv->handle_motion (folder, physical_uri, destination_context, suggested_action, priv->user_data); } static CORBA_boolean impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop (PortableServer_Servant servant, + const CORBA_char* physical_uri, const GNOME_Evolution_ShellComponentDnd_DestinationFolder_Context * destination_context, const GNOME_Evolution_ShellComponentDnd_Action action, const GNOME_Evolution_ShellComponentDnd_Data * data, CORBA_Environment * ev) @@ -315,7 +317,7 @@ impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop (PortableSer folder = EVOLUTION_SHELL_COMPONENT_DND_DESTINATION_FOLDER (bonobo_object); priv = folder->priv; - return priv->handle_drop (folder, destination_context, action, data, priv->user_data); + return priv->handle_drop (folder, physical_uri, destination_context, action, data, priv->user_data); } static POA_GNOME_Evolution_ShellComponentDnd_DestinationFolder__vepv DestinationFolder_vepv; -- cgit