From 3df2a75e721ef567b873e60f40b19ee9982e211b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 22 Oct 2003 21:35:24 +0000 Subject: Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list): 2003-10-22 Jeffrey Stedfast * mail-component.c (parse_uid_list): Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list): Use em_utils_selection_get_uidlist() to parse the x-uid-list selection data and use mail_tool_uri_to_folder() directly since we have the uri (originally we expected the first component of the selection data to be the e-storage-set-view folder path rather than the uri). (folder_receive_drop_cb): Call gtk_drag_finish() here. * message-list.c: s/x-evolution-message/x-uid-list/ * em-utils.c: Same. svn path=/trunk/; revision=23004 --- mail/em-utils.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mail/em-utils.c') diff --git a/mail/em-utils.c b/mail/em-utils.c index 5b16d0cd7b..8df8499031 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -1790,7 +1790,7 @@ em_utils_selection_get_mailbox(GtkSelectionData *data, CamelFolder *folder) * @uri: * @uids: * - * Sets a "x-evolution-message" format selection data. + * Sets a "x-uid-list" format selection data. * * FIXME: be nice if this could take a folder argument rather than uri **/ @@ -1801,8 +1801,7 @@ em_utils_selection_set_uidlist(GtkSelectionData *data, const char *uri, GPtrArra int i; /* format: "uri\0uid1\0uid2\0uid3\0...\0uidn\0" */ - /* NB: original form missed trailing \0 */ - + g_byte_array_append(array, uri, strlen(uri)+1); for (i=0; ilen; i++) @@ -1818,7 +1817,7 @@ em_utils_selection_set_uidlist(GtkSelectionData *data, const char *uri, GPtrArra * @urip: Pointer to uri string, to be free'd by caller * @uidsp: Pointer to an array of uid's. * - * Convert an x-evolution-message type to a uri and a uid list. + * Convert an x-uid-list type to a uri and a uid list. * * Return value: The number of uid's found. If 0, then @urip and * @uidsp will be empty. -- cgit