aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-account-setup/camel-gw-listener.c
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 /plugins/groupwise-account-setup/camel-gw-listener.c
parent37e500a1c1c25eaeb0e253564cdd7d8817f05ceb (diff)
downloadgsoc2013-evolution-ddda77f14467ec33ea50acd04e98b9086b1b62f6.tar
gsoc2013-evolution-ddda77f14467ec33ea50acd04e98b9086b1b62f6.tar.gz
gsoc2013-evolution-ddda77f14467ec33ea50acd04e98b9086b1b62f6.tar.bz2
gsoc2013-evolution-ddda77f14467ec33ea50acd04e98b9086b1b62f6.tar.lz
gsoc2013-evolution-ddda77f14467ec33ea50acd04e98b9086b1b62f6.tar.xz
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
Diffstat (limited to 'plugins/groupwise-account-setup/camel-gw-listener.c')
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c2
1 files changed, 1 insertions, 1 deletions
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 */