Bug#558789: Caused by thunderbird renaming

Steven Hamilton oz at scorch.net
Tue Jul 26 09:23:48 UTC 2011


evolution.c plugin looks for the substring "thunder" in the gconf mailto 
key (set by preferred applications). When it fails to find this (debian 
sets this to icedove %s) it launches the correct client but with no 
appended parameter string.

You can work around this by doing

sudo ln -s /usr/bin/icedove /usr/bin/thunderbird

then setting the preferred mail client to "thunderbird %s"

Here's the guilty code.

static gboolean

init (NstPlugin *plugin)

{

                 GConfClient *client;

                 g_print ("Init evolution plugin\n");

                 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);

                 bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");

                 client = gconf_client_get_default ();

mail_cmd = gconf_client_get_string (client, DEFAULT_MAILTO, NULL);

                 g_object_unref (client);

                 if (mail_cmd == NULL || *mail_cmd == '\0') {

                                 g_free (mail_cmd);

                                 mail_cmd = get_evo_cmd ();

                                 type = MAILER_EVO;

                 } else {

                                 /* Find what the default mailer is */

                                 if (strstr (mail_cmd, "balsa"))

                                                 type = MAILER_BALSA;

                                 else if (strstr (mail_cmd, "thunder") 
|| strstr (mail_cmd, "seamonkey"))

                                                 type = MAILER_THUNDERBIRD;

                                 else if (strstr (mail_cmd, "sylpheed") 
|| strstr (mail_cmd, "claws"))

                                                 type = MAILER_SYLPHEED;

                                 else if (strstr (mail_cmd, "anjal"))

                                                 type = MAILER_EVO;

                 }

                 if (mail_cmd == NULL)

                                 return FALSE;

                 return TRUE;






More information about the pkg-gnome-maintainers mailing list