diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-10-23 05:35:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-10-23 05:35:24 +0800 |
commit | 3df2a75e721ef567b873e60f40b19ee9982e211b (patch) | |
tree | 67c6314033b003ce74792b4282a763a5a68960a9 /mail/em-utils.c | |
parent | 17dacd6a97b0a2e1548aef137a58f7281e928cfd (diff) | |
download | gsoc2013-evolution-3df2a75e721ef567b873e60f40b19ee9982e211b.tar.gz gsoc2013-evolution-3df2a75e721ef567b873e60f40b19ee9982e211b.tar.zst gsoc2013-evolution-3df2a75e721ef567b873e60f40b19ee9982e211b.zip |
Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list):
2003-10-22 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 7 |
1 files changed, 3 insertions, 4 deletions
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; i<uids->len; 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. |