diff options
author | fiaxh <git@lightrise.org> | 2024-08-18 22:02:33 +0200 |
---|---|---|
committer | fiaxh <fiaxh@users.noreply.github.com> | 2024-08-19 11:36:17 +0200 |
commit | 88376cd6f75d5057caa6582d0a82fc76bb7b388f (patch) | |
tree | 72bf7aef70340bd47247d193180691108cb5c60d /main/data/conversation_details.ui | |
parent | 8e7dedcaa62a49373c22dfc54bf1bb8b261bcb61 (diff) | |
download | dino-88376cd6f75d5057caa6582d0a82fc76bb7b388f.tar.gz dino-88376cd6f75d5057caa6582d0a82fc76bb7b388f.zip |
Conversation details: Make block button a stateful menu button
Diffstat (limited to 'main/data/conversation_details.ui')
-rw-r--r-- | main/data/conversation_details.ui | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/main/data/conversation_details.ui b/main/data/conversation_details.ui index c34124a3..5ee156bb 100644 --- a/main/data/conversation_details.ui +++ b/main/data/conversation_details.ui @@ -122,8 +122,7 @@ </object> </child> <child> - <object class="AdwSplitButton" id="block_button"> - <property name="menu_model">block_menu_model</property> + <object class="GtkMenuButton" id="block_button"> <property name="visible" bind-source="model" bind-property="show-blocked" bind-flags="sync-create"/> <child> <object class="AdwButtonContent" id="block_button_content"> @@ -204,20 +203,4 @@ </item> </section> </menu> - <menu id="block_menu_model"> - <section> - <item> - <attribute name="label" translatable="1">Block user</attribute> - <attribute name="action">do.block</attribute> - </item> - <item> - <attribute name="label" translatable="1">Block entire domain</attribute> - <attribute name="action">do.block_domain</attribute> - </item> - <item> - <attribute name="label" translatable="1">Unblock</attribute> - <attribute name="action">do.unblock</attribute> - </item> - </section> - </menu> </interface> |