diff options
author | Chris Toshok <toshok@ximian.com> | 2001-05-12 16:29:46 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-05-12 16:29:46 +0800 |
commit | 206210499b3b6d758326fbaa32fc2bd9c0db1d35 (patch) | |
tree | 7729fc71f983938ef46d7dd48483a1959d204398 | |
parent | 3e6eb6c20221595c4d1286797a4879715cf5408a (diff) | |
download | gsoc2013-evolution-206210499b3b6d758326fbaa32fc2bd9c0db1d35.tar.gz gsoc2013-evolution-206210499b3b6d758326fbaa32fc2bd9c0db1d35.tar.zst gsoc2013-evolution-206210499b3b6d758326fbaa32fc2bd9c0db1d35.zip |
spew the data passed to us. (destination_folder_handle_motion): the
2001-05-12 Chris Toshok <toshok@ximian.com>
* 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
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 5 |
2 files changed, 11 insertions, 1 deletions
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 <toshok@ximian.com> + + * 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 <toshok@ximian.com> * 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; } |