[gnome-calendar/calendar-editor] source-dialog: only add non-GOA sources to 'Calendars' list



commit 80c098c9f3bfdf76db023a744f7ae73363aa7b57
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]