summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sendto/plugins/emailclient/emailclient.c19
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;