This leads to a minor bit of UI string and code duplication, but substantially reduces the complexity of implementing the popover's actions. Hook up all remaining actions except open and save.
48 lines
1.7 KiB
XML
48 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
<menu id="context_menu">
|
|
<section id="context_menu_link">
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Open Link</attribute>
|
|
<attribute name="action">msg.open-link</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">Copy Link _Address</attribute>
|
|
<attribute name="action">msg.copy-link</attribute>
|
|
</item>
|
|
</section>
|
|
<section id="context_menu_email">
|
|
<item>
|
|
<attribute name="label" translatable="yes">_New Conversation…</attribute>
|
|
<attribute name="action">msg.conversation-new</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">Copy Email _Address</attribute>
|
|
<attribute name="action">msg.copy-email</attribute>
|
|
</item>
|
|
</section>
|
|
<section id="context_menu_image">
|
|
<item>
|
|
<attribute name="label" translatable="yes">Save _Image As…</attribute>
|
|
<attribute name="action">msg.save-image</attribute>
|
|
</item>
|
|
</section>
|
|
<section id="context_menu_main">
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Select All</attribute>
|
|
<attribute name="action">msg.select-all</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Copy</attribute>
|
|
<attribute name="action">msg.copy-selection</attribute>
|
|
</item>
|
|
</section>
|
|
<section id="context_menu_inspector">
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Inspect…</attribute>
|
|
<attribute name="action">msg.open-inspector</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|