diff options
author | rbuj <[email protected]> | 2020-05-19 23:44:35 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-06-21 12:39:09 +0200 |
commit | 9ead9ce3bdd62c452f086fe60900d97ad3009b71 (patch) | |
tree | f3e3d5aec30a5561c24502d2ccd30743e4a87526 /sendto | |
parent | be37bd1dc0303c684ae2888e7bc96e3de5443de0 (diff) | |
download | caja-extensions-9ead9ce3bdd62c452f086fe60900d97ad3009b71.tar.bz2 caja-extensions-9ead9ce3bdd62c452f086fe60900d97ad3009b71.tar.xz |
sendto: Fix evolution command for sending an email
Diffstat (limited to 'sendto')
-rw-r--r-- | sendto/plugins/emailclient/emailclient.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c index c116933..189ceb8 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) |