summaryrefslogtreecommitdiff
path: root/sendto/plugins/emailclient/emailclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'sendto/plugins/emailclient/emailclient.c')
-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 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)