[nautilus-sendto] Bug 594196 - Command line for claws mail incorrect



commit 9f0d2251af6c8f33d6843e56f7e4ac47e2d8acbe
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 11 17:21:40 2009 +0100

    Bug 594196 - Command line for claws mail incorrect
    
    Fix command-line arguments for Sylpheed and Claws. Spotted
    by Johan Brannlund

 src/plugins/evolution/evolution.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/evolution/evolution.c b/src/plugins/evolution/evolution.c
index a8835fe..52ab6de 100644
--- a/src/plugins/evolution/evolution.c
+++ b/src/plugins/evolution/evolution.c
@@ -294,17 +294,17 @@ get_sylpheed_mailto (GtkWidget *contact_widget, GString *mailto, GList *file_lis
 	g_string_append (mailto, "--compose ");
 	if (email != NULL) {
 		if (name != NULL)
-			g_string_append_printf (mailto, "\""CONTACT_FORMAT"\",", name, email);
+			g_string_append_printf (mailto, "\""CONTACT_FORMAT"\" ", name, email);
 		else
-			g_string_append_printf (mailto, "%s,", email);
+			g_string_append_printf (mailto, "%s ", email);
 	} else {
 		const char *text;
 
 		text = gtk_entry_get_text (GTK_ENTRY (contact_widget));
 		if (text != NULL && *text != '\0')
-			g_string_append_printf (mailto, "\"%s\",", text);
+			g_string_append_printf (mailto, "\"%s\" ", text);
 		else
-			g_string_append (mailto, " \"\"");
+			g_string_append (mailto, "\"\"");
 	}
 	g_string_append_printf (mailto,"--attach \"%s\"", (char *)file_list->data);
 	for (l = file_list->next ; l; l=l->next){



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]