aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-14 06:34:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-14 06:34:54 +0800
commitdbdadb9592ad51426bca0439766d5c22e0e295ee (patch)
treed9fd68040ad32c50be0ee11e3d50f1106a719595 /mail
parent724b28b7ad3ab1c966400b008a793e50327ff1c0 (diff)
downloadgsoc2013-evolution-dbdadb9592ad51426bca0439766d5c22e0e295ee.tar.gz
gsoc2013-evolution-dbdadb9592ad51426bca0439766d5c22e0e295ee.tar.zst
gsoc2013-evolution-dbdadb9592ad51426bca0439766d5c22e0e295ee.zip
Correctly create the clipboard buffer by using a nul to delimit the uri
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. svn path=/trunk/; revision=19433
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);