aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-20 06:01:22 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-20 06:01:22 +0800
commita5efc9cddddd1386c3adfa6cbaa358a7b7d6968f (patch)
treea9c95ab0609559ed1983f07d2078bd5fae997244 /addressbook
parentd634c1e15e08bec61d6880baf8a3c76eff22fffb (diff)
downloadgsoc2013-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 'addressbook')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/component/addressbook-component.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 51414a6779..44f9092c23 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2001-10-19 Ettore Perazzoli <ettore@ximian.com>
+
+ * 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.
+
2001-10-18 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c (add_menu_item):
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index a2c0eb9056..b9f0a57e27 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -334,11 +334,11 @@ user_create_new_item_cb (EvolutionShellComponent *shell_component,
static CORBA_boolean
destination_folder_handle_motion (EvolutionShellComponentDndDestinationFolder *folder,
const char *physical_uri,
+ const char *folder_type,
const GNOME_Evolution_ShellComponentDnd_DestinationFolder_Context * destination_context,
GNOME_Evolution_ShellComponentDnd_Action * suggested_action_return,
gpointer user_data)
{
- g_print ("in destination_folder_handle_motion (%s)\n", physical_uri);
*suggested_action_return = GNOME_Evolution_ShellComponentDnd_ACTION_MOVE;
return TRUE;
}
@@ -358,6 +358,7 @@ dnd_drop_book_open_cb (EBook *book, EBookStatus status, GList *card_list)
static CORBA_boolean
destination_folder_handle_drop (EvolutionShellComponentDndDestinationFolder *folder,
const char *physical_uri,
+ const char *folder_type,
const GNOME_Evolution_ShellComponentDnd_DestinationFolder_Context * destination_context,
const GNOME_Evolution_ShellComponentDnd_Action action,
const GNOME_Evolution_ShellComponentDnd_Data * data,