Commit graph

6 commits

Author SHA1 Message Date
Cédric Bellegarde
9f893adc47 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
2022-07-08 22:02:18 +02:00
Michael Gratton
68b2da17c5 Separate and implement contact popover action from conversation message
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.
2019-04-08 10:26:04 +10:00
Michael Gratton
e144617b9a Update conversation message menus and actions for contact popover
Add new menu items per the design. Rename actions to match and to be
compliant with action name spec.
2019-04-08 10:22:58 +10:00
Piotr Drąg
bfea6be048 Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=776142
2016-12-16 02:14:14 +01:00
Michael James Gratton
67fbd08691 Implement "Search for messages from" for email addresses. 2016-10-04 10:58:17 +11:00
Michael James Gratton
82530d12a7 Re-enable the message context menu.
* src/client/conversation-viewer/conversation-message.vala
  (ConversationMessage): Add a simple action group namespaced as "msg"
  for actions under the message's scope, add actions to it for the
  context menu. Track the currently selected DOM element under the
  context menu so we can update action enabled state, etc., based on
  it. Construct the context menu as needed, update signal & event
  handlers as needed.

* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail): Add new save-image signal, chain emission from
  added ConversationMessage instance's save-image signal to this.

* src/client/application/geary-controller.vala (GearyController): Chase
  on_save_buffer_to_file signal moving to ConversationEmail and being
  renamed to save_image.

* src/client/conversation-viewer/conversation-viewer.vala: Remove uneeded
  signal.

* ui/conversation-message-menus.ui: New UI file for ConversationMessage
  context menu.

* ui/CMakeLists.txt: Incude ConversationMessage UI in the resources.

* po/POTFILES.in: Add new UI file.
2016-10-04 10:58:17 +11:00