[gnome-calendar/calendar-management] manager: fix comparison of wrong string
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/calendar-management] manager: fix comparison of wrong string
- Date: Tue, 3 Feb 2015 17:30:07 +0000 (UTC)
commit d76f899dcae314ad48646ca1c64eb47c10778d30
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Feb 3 14:47:28 2015 -0200
manager: fix comparison of wrong string
src/gcal-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index 87dee02..3f0379e 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -1109,7 +1109,7 @@ gcal_manager_get_origin (GcalManager *manager,
if (e_source_has_extension (parent, E_SOURCE_EXTENSION_GOA))
{
/* Google */
- if (g_str_has_suffix (parent_uid, "gmail.com"))
+ if (g_str_has_suffix (e_source_get_display_name (parent), "@gmail.com"))
origin->name = "Google";
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]