File: gitlab_thunderbird_cmd.patch

package info (click to toggle)
nautilus-sendto 3.8.6-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,044 kB
  • sloc: ansic: 449; makefile: 5
file content (32 lines) | stat: -rw-r--r-- 1,196 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Sebastien Bacher <seb128@ubuntu.com>
Date: Mon, 23 Nov 2020 20:24:59 +0100
Subject: [PATCH] Remove old workaround for thunderbird

It's not needed anymore and creates issues in some cases

https://gitlab.gnome.org/Archive/nautilus-sendto/-/merge_requests/5
---
 src/nautilus-sendto.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/nautilus-sendto.c b/src/nautilus-sendto.c
index 52d2b89..9154e09 100644
--- a/src/nautilus-sendto.c
+++ b/src/nautilus-sendto.c
@@ -98,16 +98,7 @@ init_mailer (NautilusSendto *nst)
 		if (strstr (nst->mail_cmd, "balsa"))
 			nst->type = MAILER_BALSA;
 		else if (strstr (nst->mail_cmd, "thunder") || strstr (nst->mail_cmd, "seamonkey") || strstr (nst->mail_cmd, "icedove")) {
-			char **strv;
-
 			nst->type = MAILER_THUNDERBIRD;
-
-			/* Thunderbird sucks, see
-			 * https://bugzilla.gnome.org/show_bug.cgi?id=614222 */
-			strv = g_strsplit (nst->mail_cmd, " ", -1);
-			g_free (nst->mail_cmd);
-			nst->mail_cmd = g_strdup_printf ("%s %%s", strv[0]);
-			g_strfreev (strv);
 		} else if (strstr (nst->mail_cmd, "sylpheed") || strstr (nst->mail_cmd, "claws"))
 			nst->type = MAILER_SYLPHEED;
 		else if (strstr (nst->mail_cmd, "anjal"))