Commit graph

9 commits

Author SHA1 Message Date
Michael Gratton
5cc92ef964 Move email action handling to ConversationListBox
This allows a single widget to get constructed to handle email actions,
rather than every single ConversationEmail having to do so, and thus
related signals can also be moved to and emitted from
ConversationListBox, so that MainWindow only has to hook up to a single
object's signals for a conversation, not every email in the
conversation.
2019-11-07 11:58:55 +11:00
Michael Gratton
de6ef699de Clean up attachment save code
Create new Application.AttachmentManager class and move code for saving
attachments there from both Application.Controller and MainWindow since
aside from needing the latter for dialogs it is independent of both.

Create new Components.AttachmentPane widget for diplaying attachents
for an email in the ConversationViewer.

Update ConversationEmail and ConversationMessage to use these two new
classes directly, rather than implementing save management itself or
requiring the MainWindow to wire up signals on these classes.
2019-11-07 11:58:55 +11:00
Michael Gratton
c5d0561c00 Update other trash/delete menu items for consistency 2019-08-04 12:51:41 +10:00
Michael James Gratton
b9af50c005 Add translation comments to conversation email menu 2018-08-23 18:40:24 +10:00
Alex Henrie
6c8bc2c580 Implement single-message deletion for messages in the current folder 2018-08-22 20:04:11 +10:00
Niels De Graef
8969d175b2 Use a horizontal icon row for message actions, bug 782931.
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2017-10-20 13:16:50 +11: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
5c88e07af6 Re-enable items in the ConversationEmail menu.
Using "msg" for the ConversationMessage context menu action namespace
stopped ConversationEmail's actions being found, so use "eml" instead.

* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail::ConversationEmail): Use a the "eml" namespace for
  email actions to avoid namespace collision.

* ui/conversation-email-menus.ui: Chase namespace change.
2016-10-04 10:58:17 +11:00
Michael James Gratton
b2fe0ce4ff Rename conversation-message-menu.ui to conversation-email-menus.ui.
Make it actually match its parent class and use.
2016-10-04 10:58:17 +11:00
Renamed from ui/conversation-message-menu.ui (Browse further)