From 206210499b3b6d758326fbaa32fc2bd9c0db1d35 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sat, 12 May 2001 08:29:46 +0000 Subject: spew the data passed to us. (destination_folder_handle_motion): the 2001-05-12 Chris Toshok * gui/component/addressbook-component.c (destination_folder_handle_drop): spew the data passed to us. (destination_folder_handle_motion): the suggested_action is not an ActionSet, but an Action, so don't or together multiple actions. svn path=/trunk/; revision=9781 --- addressbook/ChangeLog | 7 +++++++ addressbook/gui/component/addressbook-component.c | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index d8f4ad2c3e..2bfab4a623 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2001-05-12 Chris Toshok + + * gui/component/addressbook-component.c + (destination_folder_handle_drop): spew the data passed to us. + (destination_folder_handle_motion): the suggested_action is not an + ActionSet, but an Action, so don't or together multiple actions. + 2001-05-11 Chris Toshok * gui/component/addressbook-config.c (addressbook_source_dialog): diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index 6a76dd01fb..90a976473e 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -281,7 +281,7 @@ destination_folder_handle_motion (EvolutionShellComponentDndDestinationFolder *f gpointer user_data) { g_print ("in destination_folder_handle_motion (%s)\n", physical_uri); - *suggested_action_return = GNOME_Evolution_ShellComponentDnd_ACTION_COPY | GNOME_Evolution_ShellComponentDnd_ACTION_MOVE; + *suggested_action_return = GNOME_Evolution_ShellComponentDnd_ACTION_MOVE; return TRUE; } @@ -297,6 +297,9 @@ destination_folder_handle_drop (EvolutionShellComponentDndDestinationFolder *fol return FALSE; /* we can't create links in our addressbook format */ g_print ("in destination_folder_handle_drop (%s)\n", physical_uri); + + g_print ("data = %s\n", data->bytes._buffer); + return TRUE; } -- cgit v1.2.3