aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-11-11 18:52:37 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-11-11 18:52:37 +0800
commitddda77f14467ec33ea50acd04e98b9086b1b62f6 (patch)
tree46cc9a148a01442814684926b23cc9fe431fb80f
parent37e500a1c1c25eaeb0e253564cdd7d8817f05ceb (diff)
downloadgsoc2013-evolution-ddda77f14467ec33ea50acd04e98b9086b1b62f6.tar.gz
gsoc2013-evolution-ddda77f14467ec33ea50acd04e98b9086b1b62f6.tar.zst
gsoc2013-evolution-ddda77f14467ec33ea50acd04e98b9086b1b62f6.zip
Fix for bug #440646 (bugzilla.novell.com) - Set the ESource color-spec for proxy accounts in the correct format.
svn path=/trunk/; revision=36772
-rw-r--r--plugins/groupwise-account-setup/ChangeLog7
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog
index 8674762787..474e27d7ec 100644
--- a/plugins/groupwise-account-setup/ChangeLog
+++ b/plugins/groupwise-account-setup/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-11 Suman Manjunath <msuman@novell.com>
+
+ ** Fix for bug #440646 (bugzilla.novell.com)
+
+ * camel-gw-listener.c (add_proxy_sources): Set the ESource color-spec
+ for proxy accounts in the correct format.
+
2008-09-25 Philip Withnall <philip@tecnocode.co.uk>
** Fix for bug #553148
diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c
index fa46d8d973..0cee4317a7 100644
--- a/plugins/groupwise-account-setup/camel-gw-listener.c
+++ b/plugins/groupwise-account-setup/camel-gw-listener.c
@@ -559,7 +559,7 @@ add_proxy_sources (GwAccountInfo *info, const char *parent_name)
url = camel_url_new (info->source_url, NULL);
- color = g_strdup_printf ("%u", g_random_int_range (0x100000, 0xffffaa));
+ color = g_strdup_printf ("#%06X", g_random_int_range (0x100000, 0xffffaa));
/* The above range is chosen so that the colors are neither too light nor too dark
and appealing in all the themes */