aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/folder-browser.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ef15999f3b..daea6acd7d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,9 @@
2003-01-13 Jeffrey Stedfast <fejj@ximian.com>
+ * folder-browser.c (folder_browser_copy): Correctly create the
+ clipboard buffer by using a nul to delimit the uri and the list of
+ uids.
+
* folder-browser-ui.c (folder_browser_ui_add_message): Check the
state of message_style in gconf and set the menus accordingly.
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 4c4c29bc3d..68b10ee6c3 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -720,12 +720,12 @@ folder_browser_copy (GtkWidget *menuitem, FolderBrowser *fb)
uids = g_ptr_array_new ();
message_list_foreach (fb->message_list, add_uid, uids);
- /* format: "uri uid1\0uid2\0uid3\0...\0uidn" */
+ /* format: "uri\0uid1\0uid2\0uid3\0...\0uidn" */
/* write the uri portion */
bytes = g_byte_array_new ();
g_byte_array_append (bytes, fb->uri, strlen (fb->uri));
- g_byte_array_append (bytes, " ", 1);
+ g_byte_array_append (bytes, "", 1);
/* write the uids */
camel_folder_freeze (fb->folder);