conversation details: Fix for libadwaita < 1.4
This commit is contained in:
parent
e2c34bf223
commit
c2efb214af
|
@ -99,7 +99,6 @@
|
||||||
<object class="AdwButtonContent" id="notification_button_menu_content">
|
<object class="AdwButtonContent" id="notification_button_menu_content">
|
||||||
<property name="icon-name">notification-symbolic</property>
|
<property name="icon-name">notification-symbolic</property>
|
||||||
<property name="label">Mute</property>
|
<property name="label">Mute</property>
|
||||||
<property name="can-shrink">True</property>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
|
|
@ -46,6 +46,11 @@ namespace Dino.Ui.ConversationDetails {
|
||||||
model.encryption_rows.items_changed.connect(create_preferences_rows);
|
model.encryption_rows.items_changed.connect(create_preferences_rows);
|
||||||
model.settings_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);
|
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() {
|
private void update_pinned_button() {
|
||||||
|
|
Loading…
Reference in a new issue