Check whether the From address is one of the enabled configured accounts and
if so, then consider the message as being sent, not received; this fails when
sending from one configured account to another configured account, thus first
guess no received date is a sent mail, which does not work for some providers,
like Maildir, which sets the received date from the filename. Trying address
of the account of the selected folder won't work for On This Computer folders.
In other words, this is a pure guess, which has many counter cases.
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2803
Clicking the button did nothing, because the provided action does not
have set an 'activate' callback. Use the "mail-send-receive" action
as the button action instead, which has the same caption.
This replaces a deprecated GtkUIManager with a new EUIManager, which
uses its own file format, similar to the .ui used by the gtk+, but
not the same. This brought in more structures like EUIAction and
EUIActionGroup.
To name the few most significant changes:
The overall window architecture had been changed internally too, the
EShellView is a widget now and contains everything except of the header
bar. This allows to create the window content once and not regenerate it
every switch between the views. It also moved the EUIManager from
the EShellWindow to the EShellView.
The EMailShellContent does not implement an EMailReader interface any more.
It allows to have cleaner EMailReader usage in the code. To get to
the EMailReader use:
EMailView *mail_view = NULL;
g_object_get (e_shell_view_get_shell_content (mail_shell_view), "mail-view", &mail_view, NULL);
if (mail_view) {
EMailReader *mail_reader = E_MAIL_READER (mail_view);
...
g_clear_object (&mail_view);
}
The plugins cannot have their UI definitions in the .eplug file,
these are added in the code, directly to the EUIManager. Modules
already did that.
This fixes a regression of not pasting anything on middle click after
the previous change for this bug. The signal handler should return TRUE
only if it really handled the paste, instead of always.
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2886