evolution-data-server r8527 - trunk/libedataserverui



Author: sragavan
Date: Mon Feb 25 04:36:48 2008
New Revision: 8527
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8527&view=rev

Log:
2008-02-22  Srinivasa Ragavan  <sragavan novell com>

	** Fix for bug #489810

	* e-passwords.c: (ep_keyring_uri_new): Google calendar's usernames
	don't have user name in url.


Modified:
   trunk/libedataserverui/ChangeLog
   trunk/libedataserverui/e-passwords.c

Modified: trunk/libedataserverui/e-passwords.c
==============================================================================
--- trunk/libedataserverui/e-passwords.c	(original)
+++ trunk/libedataserverui/e-passwords.c	Mon Feb 25 04:36:48 2008
@@ -202,7 +202,7 @@
 
 	/* LDAP URIs do not have usernames, so use the URI as the username. */
 	if (uri->user == NULL && uri->protocol != NULL &&
-			strcmp (uri->protocol, "ldap") == 0)
+			(strcmp (uri->protocol, "ldap") == 0|| strcmp (uri->protocol, "google") == 0))
 		uri->user = g_strdelimit (g_strdup (string), "/=", '_');
 
 	return uri;



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