aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
Diffstat (limited to 'main/data')
-rw-r--r--main/data/conversation_details.ui24
1 files changed, 22 insertions, 2 deletions
diff --git a/main/data/conversation_details.ui b/main/data/conversation_details.ui
index 4229d875..bef06007 100644
--- a/main/data/conversation_details.ui
+++ b/main/data/conversation_details.ui
@@ -122,7 +122,8 @@
</object>
</child>
<child>
- <object class="GtkButton" id="block_button">
+ <object class="AdwSplitButton" id="block_button">
+ <property name="menu_model">block_menu_model</property>
<property name="visible" bind-source="model" bind-property="show-blocked" bind-flags="sync-create"/>
<child>
<object class="AdwButtonContent" id="block_button_content">
@@ -132,6 +133,17 @@
</child>
</object>
</child>
+ <child>
+ <object class="GtkButton" id="block_domain_button">
+ <property name="visible" bind-source="model" bind-property="show-blocked" bind-flags="sync-create"/>
+ <child>
+ <object class="AdwButtonContent" id="block_domain_button_content">
+ <property name="icon-name">dino-block-symbolic</property>
+ <property name="label">Domain blocked</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
</object>
@@ -203,4 +215,12 @@
</item>
</section>
</menu>
-</interface> \ No newline at end of file
+ <menu id="block_menu_model">
+ <section>
+ <item>
+ <attribute name="label">Block domain</attribute>
+ <attribute name="action">domain.on</attribute>
+ </item>
+ </section>
+ </menu>
+</interface>