evolution r37507 - trunk/plugins/google-account-setup
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r37507 - trunk/plugins/google-account-setup
- Date: Thu, 9 Apr 2009 10:58:37 +0000 (UTC)
Author: mcrha
Date: Thu Apr 9 10:58:37 2009
New Revision: 37507
URL: http://svn.gnome.org/viewvc/evolution?rev=37507&view=rev
Log:
2009-04-09 Milan Crha <mcrha redhat com>
** Fix for bug #574248
* google-contacts-source.c: (plugin_google_contacts):
* google-source.c: (plugin_google):
Compare base URI case insensitively.
Modified:
trunk/plugins/google-account-setup/ChangeLog
trunk/plugins/google-account-setup/google-contacts-source.c
trunk/plugins/google-account-setup/google-source.c
Modified: trunk/plugins/google-account-setup/google-contacts-source.c
==============================================================================
--- trunk/plugins/google-account-setup/google-contacts-source.c (original)
+++ trunk/plugins/google-account-setup/google-contacts-source.c Thu Apr 9 10:58:37 2009
@@ -300,7 +300,7 @@
g_object_set_data (G_OBJECT (epl), "gwidget", NULL);
- if (strcmp (base_uri, "google://")) {
+ if (g_ascii_strncasecmp ("google://", base_uri, 9) != 0) {
return NULL;
}
Modified: trunk/plugins/google-account-setup/google-source.c
==============================================================================
--- trunk/plugins/google-account-setup/google-source.c (original)
+++ trunk/plugins/google-account-setup/google-source.c Thu Apr 9 10:58:37 2009
@@ -575,8 +575,7 @@
group = e_source_peek_group (source);
widget = NULL;
- if (!g_str_has_prefix (e_source_group_peek_base_uri (group),
- "Google")) {
+ if (g_ascii_strncasecmp ("google://", e_source_group_peek_base_uri (group), 9) != 0) {
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]