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/e-storage-set-view.c | |
parent | d634c1e15e08bec61d6880baf8a3c76eff22fffb (diff) | |
download | gsoc2013-evolution-a5efc9cddddd1386c3adfa6cbaa358a7b7d6968f.tar.gz 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/e-storage-set-view.c')
-rw-r--r-- | shell/e-storage-set-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 15f9206915..9b7365e796 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -1099,6 +1099,7 @@ tree_drag_motion (ETree *tree, can_handle = GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion (destination_folder_interface, e_folder_get_physical_uri (folder), + e_folder_get_type_string (folder), &corba_context, &suggested_action, &ev); @@ -1252,6 +1253,7 @@ tree_drag_data_received (ETree *etree, /* pass off the data to the component's DestinationFolderInterface */ handled = GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop (destination_folder_interface, e_folder_get_physical_uri (folder), + e_folder_get_type_string (folder), &corba_context, convert_gdk_drag_action_to_corba (context->action), &corba_data, |