diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-20 06:01:22 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-20 06:01:22 +0800 |
commit | a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f (patch) | |
tree | a9c95ab0609559ed1983f07d2078bd5fae997244 /shell/evolution-shell-component-dnd.c | |
parent | d634c1e15e08bec61d6880baf8a3c76eff22fffb (diff) | |
download | gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.gz gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.bz2 gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.lz gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.xz gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.zst gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.zip |
Pass the @folder_type to ::handleDrop.
* e-storage-set-view.c (tree_drag_data_received): Pass the
@folder_type to ::handleDrop.
* evolution-shell-component-dnd.c
(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion):
New arg @folder_type.
(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop):
Likewise.
* evolution-shell-component-dnd.h: Add @folder_type to
`DndDestinationFolderHandleDropFn' and
`DndDestinationFolderHandleMotionFn'.
* e-storage-set-view.c (tree_drag_motion): Pass the folder type to
`::handleMotion'.
* Evolution-ShellComponentDnd.idl: Pass @folder_type in
::handleDrop and ::handleMotion.
* component-factory.c (destination_folder_handle_motion): Get
@folder_type here too [to match the changes in the
EvolutionShellComponentDnd interface]. Also, remove a debugging
message.
(destination_folder_handle_drop): Likewise.
* gui/component/addressbook-component.c
(destination_folder_handle_motion): Get @folder_type here too [to
match the changes in the EvolutionShellComponentDnd interface].
Also, remove a debugging message.
(destination_folder_handle_drop): Likewise.
svn path=/trunk/; revision=13807
Diffstat (limited to 'shell/evolution-shell-component-dnd.c')
-rw-r--r-- | shell/evolution-shell-component-dnd.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/evolution-shell-component-dnd.c b/shell/evolution-shell-component-dnd.c index c434ff4611..e6b9b0c1e5 100644 --- a/shell/evolution-shell-component-dnd.c +++ b/shell/evolution-shell-component-dnd.c @@ -288,6 +288,7 @@ dnd_destination_destroy (GtkObject *object) static CORBA_boolean impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion (PortableServer_Servant servant, const CORBA_char* physical_uri, + const CORBA_char *folder_type, const GNOME_Evolution_ShellComponentDnd_DestinationFolder_Context * destination_context, GNOME_Evolution_ShellComponentDnd_Action * suggested_action, CORBA_Environment * ev) { @@ -299,12 +300,13 @@ impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion (PortableS folder = EVOLUTION_SHELL_COMPONENT_DND_DESTINATION_FOLDER (bonobo_object); priv = folder->priv; - return priv->handle_motion (folder, physical_uri, destination_context, suggested_action, priv->user_data); + return priv->handle_motion (folder, physical_uri, folder_type, 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 CORBA_char *physical_uri, + const CORBA_char *folder_type, const GNOME_Evolution_ShellComponentDnd_DestinationFolder_Context * destination_context, const GNOME_Evolution_ShellComponentDnd_Action action, const GNOME_Evolution_ShellComponentDnd_Data * data, CORBA_Environment * ev) @@ -317,7 +319,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, physical_uri, destination_context, action, data, priv->user_data); + return priv->handle_drop (folder, physical_uri, folder_type, destination_context, action, data, priv->user_data); } static POA_GNOME_Evolution_ShellComponentDnd_DestinationFolder__vepv DestinationFolder_vepv; |