diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-11-11 18:52:26 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-11-11 18:52:26 +0800 |
commit | bad96a75fa7035e218ae0d32b042a76e556e89db (patch) | |
tree | d47864214e76d6c41c9cd16a3c03d8cb852bef7e | |
parent | bc5508785aebc3c818091fc768d2fb1513fe05ff (diff) | |
download | gsoc2013-evolution-bad96a75fa7035e218ae0d32b042a76e556e89db.tar gsoc2013-evolution-bad96a75fa7035e218ae0d32b042a76e556e89db.tar.gz gsoc2013-evolution-bad96a75fa7035e218ae0d32b042a76e556e89db.tar.bz2 gsoc2013-evolution-bad96a75fa7035e218ae0d32b042a76e556e89db.tar.lz gsoc2013-evolution-bad96a75fa7035e218ae0d32b042a76e556e89db.tar.xz gsoc2013-evolution-bad96a75fa7035e218ae0d32b042a76e556e89db.tar.zst gsoc2013-evolution-bad96a75fa7035e218ae0d32b042a76e556e89db.zip |
Fix for bug #440646 (bugzilla.novell.com) - Set the ESource color-spec for proxy accounts in the correct format.
svn path=/branches/gnome-2-24/; revision=36771
-rw-r--r-- | plugins/groupwise-account-setup/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/groupwise-account-setup/camel-gw-listener.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog index 3eb01e4627..951d3f0bdf 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-02 Sankar P <psankar@novell.com> License Changes 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 */ |