[geary: 1/2] components: ensure correct initial state for headerbars buttons
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary: 1/2] components: ensure correct initial state for headerbars buttons
- Date: Wed, 13 Jan 2021 12:05:47 +0000 (UTC)
commit a1a31734c43f26256e6065d82bbf0450e3c61176
Author: Julian Sparber <julian sparber net>
Date: Tue Jan 12 12:40:56 2021 +0100
components: ensure correct initial state for headerbars buttons
fixes: https://gitlab.gnome.org/GNOME/geary/-/issues/1112
src/client/components/components-conversation-header-bar.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/client/components/components-conversation-header-bar.vala
b/src/client/components/components-conversation-header-bar.vala
index ce28c2365..858930110 100644
--- a/src/client/components/components-conversation-header-bar.vala
+++ b/src/client/components/components-conversation-header-bar.vala
@@ -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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]