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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user