# HG changeset patch # User Stu Tomlinson # Date 1274989791 0 # Node ID 58fbaa661331e413d7c21647f1a6a4cd6c54840a # Parent 208641cbe9799c9b5c97dd6431a1c078514a233c Fix the "Send email" context menu option for gevolution so it actually works diff -r 208641cbe979 -r 58fbaa661331 pidgin/plugins/gevolution/gevolution.c --- a/pidgin/plugins/gevolution/gevolution.c Thu May 27 19:45:20 2010 +0000 +++ b/pidgin/plugins/gevolution/gevolution.c Thu May 27 19:49:51 2010 +0000 @@ -227,12 +227,12 @@ char *app = g_find_program_in_path("evolution"); if (app != NULL) { - char *command_line = g_strdup_printf("%s mailto:%s", app, mail); - char *quoted = g_shell_quote(command_line); + char *quoted = g_shell_quote(mail); + char *command_line = g_strdup_printf("%s mailto:%s", app, quoted); g_free(app); g_free(mail); - g_spawn_command_line_async(quoted, NULL); + g_spawn_command_line_async(command_line, NULL); g_free(command_line); g_free(quoted); }