[gnome-calendar] source-dialog: only add non-GOA sources to 'Calendars' list
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] source-dialog: only add non-GOA sources to 'Calendars' list
- Date: Mon, 25 May 2015 16:56:31 +0000 (UTC)
commit d27fe3cae07543b2c1626be956a463311301a4d7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Apr 8 23:53:20 2015 -0300
source-dialog: only add non-GOA sources to 'Calendars' list
GOA sources are special-cased, and will be
accessible by selecting the GOA account.
src/gcal-source-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index de9bc37..e50c21a 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -200,7 +200,7 @@ add_source (GcalManager *manager,
contains_source = TRUE;
}
- if (!contains_source)
+ if (!contains_source && !is_goa_source (GCAL_SOURCE_DIALOG (user_data), source))
{
GtkWidget *row;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]