geary/ui/conversation-message-menu.ui
Michael James Gratton 64aa037c04 Add new ConversationMessage widget to display a single message with a WebView.
The new widget is designed to be added to a ListBox like container, and
can display both a summary and the complete message, a'la the traditional
Geary ConversationView.

Most features are currently disabled, but it does handle hiding/showing
the message body using a single WebKit.WebView. All code from
ConversationViewer relating to DOM manipulation as been copied over, all
but that which was needed to display the message has been commentd out.

* src/client/conversation-viewer/conversation-message.vala: Source code
  for new widget.

* src/client/components/main-window.vala: Add CSS theme code for
  ConversationMessage.

* ui/conversation-message.ui: GtkBuilder template for new widget.

* ui/conversation-message-menu.ui: GtkBuilder for the message menu. This
  is a separate file since GTK+ 3.10 doesn't support GtkPopoverMenu and I
  can't build it using Glade otherwise.

* src/CMakeLists.txt: Added new source file.

* po/POTFILES.in, ui/CMakeLists.txt: Added new UI files.
2016-10-04 10:58:17 +11:00

50 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<menu id="conversation_message_menu">
<section>
<item>
<attribute name="label" translatable="yes">_Save Attachments</attribute>
<attribute name="action">msg.selected</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Reply</attribute>
<attribute name="action">msg.reply_sender</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Reply to _All</attribute>
<attribute name="action">msg.reply_all</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Forward</attribute>
<attribute name="action">msg.forward</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Mark Read</attribute>
<attribute name="action">msg.mark_read</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Mark Unread</attribute>
<attribute name="action">msg.mark_unread</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Mark Unread From _Here</attribute>
<attribute name="action">msg.mark_unread_down</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Print...</attribute>
<attribute name="action">msg.print</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_View Source</attribute>
<attribute name="action">msg.view_source</attribute>
</item>
</section>
</menu>
</interface>