geary/po
Michael James Gratton ec22b33825 Reenable displaying sub-messages.
Geary currently displays RFC 822 attachments inline, below the email's
primary message body, using the same HTML chrome for the headers and
email body as for the primary body. Taking the same approach but using
GTK+ widgets meant splitting ConversationMessage up into a
ConversationEmail class that manages the UI for displaying an email in
its entirety, and a ConversationMessage to manage the only header widgets
and webview for displaying an individual RFC 822 message, usable for both
the primary body and any sub-messages. Thus, this is a big change.

One behavioural change is that each sub-message with remote images now
requires individual approval, rather than being dependant on the
containing message's sender and/or approval. This prevents some attacks
e.g. a trusted sender forwarding a spam/malware message, but does not
prevent it if the message is forwarded inline, obviosuly.

* src/client/conversation-viewer/conversation-email.vala (ConversationEmail):
  New class for managing the UI for an overall email message. This
  replaces the old ConversationMessage and contains much of it's code and
  widgets - anything from that class which does not directly support
  displaying headers or a message body.

* src/client/conversation-viewer/conversation-message.vala:
  (ConversationMessage): Same class as before, but now with its scope
  narrowed to only display message headers and body. The draft infobar
  remains here rather than being put ConversationEmail where it belongs
  since it's bit of a pain to insert in the right place and doesn't
  really hurt.
  (::email): Moved this property and any code that depends on it to
  ConversationEmail.
  (::always_load_remote_images): New property passed in via the ctor,
  allowing one dependency on the old ::email property to be removed.
  (::inlined_content_ids): Moved to ConversationEmail, since that is the
  class that keeps track of attachments to display. Add the signal
  attachment_displayed_inline to allow ConversationEmail to be notified
  of inlined attachments instead.
  (::flag_remote_images, ::remember_remote_images): New signals to notify
  ConversationEmail that the user has flagged this message or the
  message's sender for loading remote images. This is passed through
  since in the former's case we may need to set flags on the email
  itself, the latter because it is one less use of the contact_store
  property, which should be removed from this class at some point.

* src/client/conversation-viewer/conversation-viewer.vala: Chase API
  changes from the above. In general, replace use of the term "message"
  with "email" since this class is now mostly dealing with
  ConversationEmail instances, rather than ConversationMessage instances.
  (ConversationViewer::check_mark_read): Only consider the
  ConversationEmail's primary message body when checking for visibility
  rather than that and any submessages to keep things simple.
  (ConversationViewer::show_message, ::hide_message): Renamed to
  expand_email/collapse_email respectively since we don't ever actually
  hide it. Carry that change on to same methods on ConversationEmail.

* src/engine/rfc822/rfc822-message.vala (Geary.RFC822.Message): Add
  get_primary_originator(), almost vermatim from Geary.Email, to support
  determining the sender for remembering remote message loading for
  senders of sub-emails.

* src/client/components/main-window.vala (MainWindow::set_styling): Fix
  background transition for collapsed emails.

* src/client/application/geary-controller.vala: Chase API name changes.

* src/CMakeLists.txt: Include new ConversationEmail source file.

* ui/conversation-email.ui: New UI for ConversationEmail, move the email
  action box, attachments box amd sub-messages box here from
  conversation-message.ui.

* ui/CMakeLists.txt: Include new UI in compiled resources.

* po/POTFILES.in: Add new UI for transation.
2016-10-04 10:58:17 +11:00
..
ar.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
bs.po Fix typo in Bosnian translation 2016-08-06 11:41:33 +10:00
ca.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
CMakeLists.txt Support GNOME's Damned Lies workflow 2014-01-10 11:04:10 -08:00
cs.po Updated Czech translation 2016-09-29 21:33:21 +02:00
da.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
de.po Updated German translation 2016-09-06 21:08:55 +00:00
el.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
en_CA.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
en_GB.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
eo.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
es.po Updated Spanish translation 2016-06-20 20:09:45 +02:00
et.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
eu.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
fa.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
fi.po Updated Finnish translation 2016-10-02 18:02:01 +00:00
fr.po Updated French translation 2016-06-23 06:47:53 +00:00
gl.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
he.po Updated Hebrew translation 2016-08-10 00:06:10 +03:00
hi.po Add Language headers to po files 2016-07-16 20:21:20 +02:00
hr.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
hu.po Updated Hungarian translation 2016-09-30 06:55:19 +00:00
id.po Updated Indonesian translation 2016-07-08 12:27:35 +00:00
it.po Updated Italian translation 2016-06-26 16:22:51 +00:00
ja.po Add Language headers to po files 2016-07-16 20:21:20 +02:00
kk.po Updated Kazakh translation 2016-09-12 12:10:42 +00:00
km.po Add Language headers to po files 2016-07-16 20:21:20 +02:00
LINGUAS Added Occitan translation 2016-03-13 13:42:50 +00:00
lt.po Updated Lithuanian translation 2016-09-17 14:25:35 +03:00
ms.po Add Language headers to po files 2016-07-16 20:21:20 +02:00
nb.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
nl.po Add Language headers to po files 2016-07-16 20:21:20 +02:00
oc.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
pl.po Updated Polish translation 2016-10-02 12:41:24 +02:00
POTFILES.in Reenable displaying sub-messages. 2016-10-04 10:58:17 +11:00
POTFILES.skip Support GNOME's Damned Lies workflow 2014-01-10 11:04:10 -08:00
pt.po Updated Portuguese translation 2016-08-14 21:39:18 +00:00
pt_BR.po Updated Brazilian Portuguese translation 2016-09-30 09:01:04 +00:00
ro.po Updated Romanian translation 2016-06-24 16:34:30 +00:00
ru.po Updated Russian translation 2016-05-16 18:43:12 +00:00
sk.po Updated Slovak translation 2016-10-02 08:15:52 +00:00
sl.po Add Language headers to po files 2016-07-16 20:21:20 +02:00
sr.po Updated Serbian translation 2016-09-11 09:17:37 +02:00
sr@latin.po Updated Serbian translation 2016-09-11 09:17:37 +02:00
sv.po Updated Swedish translation 2016-08-09 18:09:35 +00:00
te.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
tr.po Updated Turkish translation 2016-06-22 09:19:55 +00:00
uk.po Updated Ukrainian translation 2016-06-01 23:45:00 +03:00
vi.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
zh_CN.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00
zh_TW.po Revert copyright changes to translated strings in .po files 2016-05-06 10:05:29 -04:00