aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-dnd.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/evolution-shell-component-dnd.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/evolution-shell-component-dnd.c')
-rw-r--r--shell/evolution-shell-component-dnd.c6
1 files changed, 4 insertions, 2 deletions
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;