client: Add more options for displaying images from messages

- An application setting allowing to always trust images
- An option to trust images from an email domain
- Replaces buttons by a menu in infobar
This commit is contained in:
Cédric Bellegarde 2022-06-30 14:44:18 +02:00
parent bc4fe28a25
commit 9f893adc47
9 changed files with 246 additions and 47 deletions

View file

@ -45,4 +45,21 @@
</item>
</section>
</menu>
<menu id="show_images_menu">
<section>
<attribute name="label" translatable="yes">Show images</attribute>
<item>
<attribute name="label" translatable="yes">For this message</attribute>
<attribute name="action">msg.show-images-message</attribute>
</item>
<item>
<attribute name="label" translatable="yes">For this sender</attribute>
<attribute name="action">msg.show-images-sender</attribute>
</item>
<item>
<attribute name="label" translatable="yes">For this domain</attribute>
<attribute name="action">msg.show-images-domain</attribute>
</item>
</section>
</menu>
</interface>