Sunday Sep 06, 2009

Fix for Evolution 2.27.90+ default email signatures

Hi All,

 For anyone who has built Evolution 2.27.90+ , you may have found that the signatures don't stick to email account through restarts.

They have just posted a patch in bugzilla

Bug 593872 - Evolution forgets which signatures are assigned to which accounts

 I've patched my system and it works.

diff --git a/e-util/e-signature.c b/e-util/e-signature.c
index 1b22dba..2d8da48 100644
--- a/e-util/e-signature.c
+++ b/e-util/e-signature.c
@@ -445,8 +445,13 @@ e_signature_set_from_xml (ESignature \*signature, const gchar \*xml)
 		return FALSE;
 	}
 
-	if (!signature->priv->uid)
-		xml_set_prop (node, "uid", &signature->priv->uid);
+	buf = NULL;
+	xml_set_prop (node, "uid", &buf);
+
+	if (buf && \*buf) {
+		g_free (signature->priv->uid);
+		signature->priv->uid = buf;
+	}
 
 	changed |= xml_set_prop (node, "name", &signature->priv->name);
 	changed |= xml_set_bool (node, "auto", &signature->priv->autogenerated);
About

I work for the Java Embedded Global Business Unit of Oracle within Java Industry Solutions group under Alliances and Channels . I'm focused on the Java SE Embedded and BDB for ARM and PPC across multiple verticals

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
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
   
       
Today