diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css index dbfaf3d8..0f6a577a 100644 --- a/data/theme/gtk-styles.css +++ b/data/theme/gtk-styles.css @@ -225,14 +225,5 @@ GcalEventWidget.color-light:backdrop { /* calendar popover */ .calendar-list { - background-color: rgba(0, 0, 0, 0); -} - -/* source dialog */ -.details-frame { - background-color: rgba(0, 0, 0, 0); -} - -.spinner-offscreen { background-color: transparent; } diff --git a/data/ui/source-dialog.ui b/data/ui/source-dialog.ui index 992f0d4e..a606dc3c 100644 --- a/data/ui/source-dialog.ui +++ b/data/ui/source-dialog.ui @@ -698,29 +698,56 @@ - True False - - 100 + True - True - True - True - etched-in + False + vertical + 6 - + True False + Calendars + 0 + + + + + + 0 + + + + + 100 + True + True + True + True none - + True False - False + none + + + True + False + False + + + + + 1 + diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c index 26f1f4b0..99e65760 100644 --- a/src/gcal-source-dialog.c +++ b/src/gcal-source-dialog.c @@ -435,6 +435,7 @@ clear_pages (GcalSourceDialog *dialog) g_list_free_full (list, (GDestroyNotify) gtk_widget_destroy); gtk_revealer_set_reveal_child (GTK_REVEALER (priv->web_sources_revealer), FALSE); + gtk_widget_hide (priv->web_sources_revealer); } static void @@ -1009,7 +1010,6 @@ url_entry_text_changed (GObject *object, else { gtk_entry_set_progress_fraction (GTK_ENTRY (priv->calendar_address_entry), 0); - gtk_revealer_set_reveal_child (GTK_REVEALER (priv->web_sources_revealer), FALSE); } } @@ -1433,6 +1433,7 @@ discover_sources_cb (GObject *source, // Show the list of calendars gtk_revealer_set_reveal_child (GTK_REVEALER (priv->web_sources_revealer), TRUE); + gtk_widget_show (priv->web_sources_revealer); /* TODO: show a list of calendars */ for (aux = discovered_sources; aux != NULL; aux = aux->next)