From cc28c5dbab2d653790b158d6e9030ac11a79f14c Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 19 May 2020 23:44:35 +0200 Subject: sendto: Fix evolution command for sending an email --- sendto/plugins/emailclient/emailclient.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1