Merge branch 'fix_#112' into 'mainline'

components: ensure correct initial state for headerbars buttons

Closes #1112

See merge request GNOME/geary!623
This commit is contained in:
Michael Gratton 2021-01-13 12:05:45 +00:00
commit d76d838e5d

View file

@ -56,6 +56,7 @@ public class Components.ConversationHeaderBar : Gtk.HeaderBar {
reply_forward_buttons = actions.reply_forward_buttons;
archive_trash_delete_buttons = actions.archive_trash_delete_buttons;
action_bar.reveal_child = get_allocated_width() > 600;
update_action_bar();
this.owner_notify = actions.notify["owner"].connect(() => {
if (actions.owner != this) {