diff options
author | Chris Toshok <toshok@ximian.com> | 2001-05-05 06:25:21 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-05-05 06:25:21 +0800 |
commit | d56b9ce7fb81fc8f464976cf97ff463de7a15d3d (patch) | |
tree | 35f9713ca90f382ff0e37391520edd2901461f1c /shell/evolution-shell-component-dnd.c | |
parent | 2eae085ea98f26e3f23e74b4b40e458cbe532efd (diff) | |
download | gsoc2013-evolution-d56b9ce7fb81fc8f464976cf97ff463de7a15d3d.tar gsoc2013-evolution-d56b9ce7fb81fc8f464976cf97ff463de7a15d3d.tar.gz gsoc2013-evolution-d56b9ce7fb81fc8f464976cf97ff463de7a15d3d.tar.bz2 gsoc2013-evolution-d56b9ce7fb81fc8f464976cf97ff463de7a15d3d.tar.lz gsoc2013-evolution-d56b9ce7fb81fc8f464976cf97ff463de7a15d3d.tar.xz 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.c | 6 |
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; |