From c2efb214afa9f712c7ac112899c7d9b730e10de0 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 25 Sep 2023 15:02:03 +0200 Subject: conversation details: Fix for libadwaita < 1.4 --- main/data/conversation_details.ui | 1 - main/src/windows/conversation_details.vala | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'main') diff --git a/main/data/conversation_details.ui b/main/data/conversation_details.ui index 1347ad2b..4229d875 100644 --- a/main/data/conversation_details.ui +++ b/main/data/conversation_details.ui @@ -99,7 +99,6 @@ notification-symbolic Mute - True diff --git a/main/src/windows/conversation_details.vala b/main/src/windows/conversation_details.vala index 6fb66a1c..099412d1 100644 --- a/main/src/windows/conversation_details.vala +++ b/main/src/windows/conversation_details.vala @@ -46,6 +46,11 @@ namespace Dino.Ui.ConversationDetails { model.encryption_rows.items_changed.connect(create_preferences_rows); model.settings_rows.items_changed.connect(create_preferences_rows); model.notify["room-configuration-rows"].connect(create_preferences_rows); + +#if Adw_1_4 + // TODO: replace with putting buttons in new line on small screens + notification_button_menu_content.can_shrink = true; +#endif } private void update_pinned_button() { -- cgit v1.2.3-70-g09d2