diff options
| author | 2387skju <[email protected]> | 2026-04-18 12:30:28 +0200 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-05-19 20:37:02 -0400 |
| commit | 8133367fb81c8fbb42e5d1260346f1b6efc90b4d (patch) | |
| tree | ba20e55334f2f5317f149a7bc5006bbfe41c4ac3 | |
| parent | 0d1ba76df6f00b9ee2e1a2ce8437320751e60483 (diff) | |
| download | caja-extensions-8133367fb81c8fbb42e5d1260346f1b6efc90b4d.tar.bz2 caja-extensions-8133367fb81c8fbb42e5d1260346f1b6efc90b4d.tar.xz | |
Backported from Nautilus:
https://gitlab.gnome.org/Archive/nautilus-sendto/-/commit/aa74153c5b9fd448e40dffa895f63b23fa96b5f0
| -rw-r--r-- | sendto/plugins/emailclient/emailclient.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c index cfcf8a9..007e56d 100644 --- a/sendto/plugins/emailclient/emailclient.c +++ b/sendto/plugins/emailclient/emailclient.c @@ -48,23 +48,8 @@ static MailerType type = MAILER_UNKNOWN; static char * get_evo_cmd (void) { - char *tmp = NULL; - char *retval; - char *cmds[] = {"evolution", - "evolution-2.0", - "evolution-2.2", - "evolution-2.4", - "evolution-2.6", - "evolution-2.8", /* for the future */ - "evolution-3.0", /* but how far to go ? */ - NULL}; - guint i; - - for (i = 0; cmds[i] != NULL; i++) { - tmp = g_find_program_in_path (cmds[i]); - if (tmp != NULL) - break; - } + char *tmp, *retval; + tmp = g_find_program_in_path ("evolution"); if (tmp == NULL) return NULL; |
