evolution r36772 - trunk/plugins/groupwise-account-setup



Author: msuman
Date: Tue Nov 11 10:52:37 2008
New Revision: 36772
URL: http://svn.gnome.org/viewvc/evolution?rev=36772&view=rev

Log:
Fix for bug #440646 (bugzilla.novell.com) - Set the ESource color-spec for proxy accounts in the correct format.

Modified:
   trunk/plugins/groupwise-account-setup/ChangeLog
   trunk/plugins/groupwise-account-setup/camel-gw-listener.c

Modified: trunk/plugins/groupwise-account-setup/camel-gw-listener.c
==============================================================================
--- trunk/plugins/groupwise-account-setup/camel-gw-listener.c	(original)
+++ trunk/plugins/groupwise-account-setup/camel-gw-listener.c	Tue Nov 11 10:52:37 2008
@@ -559,7 +559,7 @@
 
 	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 */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]