geary/ui/components-menu-conversation.ui
Niels De Graef 9fc0a999ba ui: Hide mark actions that are disabled
For example, it doesn't really make sense to show a "Mark as unread"
button when the email is already marked as unread.
2023-08-23 22:22:01 +00:00

29 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<menu id="mark_message_menu">
<item>
<attribute name="label" translatable="yes">Mark as _Read</attribute>
<attribute name="action">win.mark-conversation-read</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Mark as _Unread</attribute>
<attribute name="action">win.mark-conversation-unread</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Star</attribute>
<attribute name="action">win.mark-conversation-starred</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">U_nstar</attribute>
<attribute name="action">win.mark-conversation-unstarred</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Toggle as _Junk</attribute>
<attribute name="action">win.toggle-conversation-junk</attribute>
</item>
</menu>
</interface>