summaryrefslogtreecommitdiff
path: root/sendto
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-05-19 23:44:35 +0200
committerraveit65 <[email protected]>2020-06-21 12:43:18 +0200
commitcc28c5dbab2d653790b158d6e9030ac11a79f14c (patch)
treeeff514ad8e7f0594e94658abb57c25cbc380edaf /sendto
parent38cdaeb39522b33936dbe0ebe85ed65c39e14253 (diff)
downloadcaja-extensions-cc28c5dbab2d653790b158d6e9030ac11a79f14c.tar.bz2
caja-extensions-cc28c5dbab2d653790b158d6e9030ac11a79f14c.tar.xz
sendto: Fix evolution command for sending an email
Diffstat (limited to 'sendto')
-rw-r--r--sendto/plugins/emailclient/emailclient.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c
index 9d1e369..dff4051 100644
--- a/sendto/plugins/emailclient/emailclient.c
+++ b/sendto/plugins/emailclient/emailclient.c
@@ -108,8 +108,12 @@ init (NstPlugin *plugin)
g_strfreev (strv);
} else if (strstr (mail_cmd, "sylpheed") || strstr (mail_cmd, "claws"))
type = MAILER_SYLPHEED;
- else if (strstr (mail_cmd, "anjal"))
+ else if (strstr (mail_cmd, "anjal") || strstr (mail_cmd, "evolution")) {
+ char *mail_cmd_aux = mail_cmd;
+ mail_cmd = g_strdup_printf ("%s %%s", mail_cmd_aux);
+ g_free (mail_cmd_aux);
type = MAILER_EVO;
+ }
}
if (mail_cmd == NULL)