--- nautilus-sendto-0.7/src/plugins/thunderbird.c.thunderbird 2006-05-27 20:52:27.000000000 -0400
+++ nautilus-sendto-0.7/src/plugins/thunderbird.c 2006-09-16 02:16:30.000000000 -0400
@@ -35,7 +35,7 @@
printf ("Init thunderbird plugin\n");
hash = g_hash_table_new (g_str_hash, g_str_equal);
- t_cmd = g_find_program_in_path ("mozilla-thunderbird");
+ t_cmd = g_find_program_in_path ("thunderbird");
if (t_cmd == NULL)
return FALSE;
return TRUE;
@@ -73,14 +73,15 @@
g_string_append_printf (mailto, "to=%s,", send_to);
}
- t_cmd = g_find_program_in_path ("mozilla-thunderbird");
+ t_cmd = g_find_program_in_path ("thunderbird");
if (t_cmd == NULL)
return FALSE;
- g_string_append_printf (mailto," attachment='\"%s\"'",file_list->data);
+ g_string_append_printf (mailto,"attachment='file:///%s",file_list->data);
for (l = file_list->next ; l; l=l->next){
- g_string_append_printf (mailto,",'\"%s\"'",l->data);
+ g_string_append_printf (mailto,",file:///%s",l->data);
}
+ g_string_append_c (mailto, '\'');
cmd = g_strdup_printf ("%s %s", t_cmd, mailto->str);
g_spawn_command_line_async (cmd, NULL);
g_free (cmd);
--- nautilus-sendto-0.7/configure.thunderbird 2006-06-25 09:25:10.000000000 -0400
+++ nautilus-sendto-0.7/configure 2006-09-16 02:13:01.000000000 -0400
@@ -19430,7 +19430,7 @@
-enable_thunderbird=no
+enable_thunderbird=yes
if test "x$enable_thunderbird" = "xyes"; then