From a8f4346e1cf909d0f1ad570c872ade05164d0f06 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 28 Sep 2016 00:34:23 -0300 Subject: [PATCH] edit-dialog: setup the correct label when selecting a calendar Since now we manually manage the headerbar title and subtitle, setting them via GtkHeaderBar API won't have any effect. Fix that by directly setting the subtitle label. https://bugzilla.gnome.org/show_bug.cgi?id=771565 --- src/gcal-edit-dialog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c index 1c4f01cc..749034e6 100644 --- a/src/gcal-edit-dialog.c +++ b/src/gcal-edit-dialog.c @@ -223,8 +223,7 @@ on_calendar_selected (GSimpleAction *action, self->selected_source = source; - gtk_header_bar_set_subtitle (GTK_HEADER_BAR (self->titlebar), - e_source_get_display_name (source)); + gtk_label_set_label (GTK_LABEL (self->subtitle_label), e_source_get_display_name (source)); break; } }