source-dialog: only add non-GOA sources to 'Calendars' list

GOA sources are special-cased, and will be
accessible by selecting the GOA account.
This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:35:32 -04:00
committed by Erick Pérez Castellanos
parent 378d4c8c81
commit d27fe3cae0
+1 -1
View File
@@ -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;