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
This commit is contained in:
Chris Toshok
2001-05-04 22:25:21 +00:00
committed by Chris Toshok
parent 2eae085ea9
commit d56b9ce7fb
5 changed files with 31 additions and 4 deletions

View File

@ -79,13 +79,15 @@ module ShellComponentDnd {
dropped; otherwise, it will return %TRUE and then set the
@default_action and @non_default_action we want to be
performed when the drop happens. */
boolean handleMotion (in Context destination_context,
boolean handleMotion (in string physical_uri,
in Context destination_context,
out Action suggested_action);
/* Data is dropped. We are given the data for the dropped
object, and we are supposed to perform the operation
requested. */
boolean handleDrop (in Context destination_context,
boolean handleDrop (in string physical_uri,
in Context destination_context,
in Action action,
in Data data);
};