| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Slightly more efficient and convenient than:
g_simple_async_result_set_from_error (simple, error);
g_error_free (error);
One less GError to copy and destroy.
|
|
|
|
|
| |
This introduces a new function called e_mail_folder_uri_to_markup(),
which may prove useful in other contexts.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
When a stream is obviously a file or memory stream (both of which
implement the GSeekable interface), use g_seekable_seek() instead of
camel_stream_reset().
This is helping me discover if it's safe to remove camel_stream_reset().
We want to eventually move to GIO streams, which have no reset method.
|
| |
|
| |
|
| |
|
|
|
|
| |
Use e_mail_folder_remove() instead.
|
|
|
|
| |
Use e_mail_folder_save_messages() instead.
|
|
|
|
| |
Use e_mail_folder_remove_attachments() instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Everything in UI seemed as working fine, but the message is just lost,
even there was printed a runtime warning on the console.
This is fixing couple things along this issue:
- differentiate between NULL and invalid pointers/objects
in new e_mail_folder_uri_...() functions
- report error to UI if mail_session_send_to_thread() fails to find
corresponding transport service
- call e_mail_store_add_by_account() in mail_store_load_accounts()
(a side-effect of this change is no code duplication and unified
processing of the same action)
|
|
|
|
| |
Replaces mail_build_attachment() from mail-ops.c.
|
|
|
|
| |
Moves the non-interactive logic out of EMailReader.
|
|
|
|
| |
Replaces mail_get_messages() from mail-ops.c.
|
|
|
|
|
| |
The previous patch worked for local account only, for anything
which has '@' in account's UID it still failed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wasn't sure if this was necessary, but it -is- in order to handle the
local Junk and Trash vfolder names correctly:
.#evolution/Junk
.#evolution/Trash
If we don't escape the path and we feed camel_url_new() something like
"folder://local/.#evolution/Trash", it's gonna think the path is '.' and
the rest of it's a fragment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Folder URIs shall henceforth be exclusive to Evolution.
The new format is:
'folder://' CAMEL_STORE_UID '/' CAMEL_FOLDER_PATH
Add e_mail_folder_uri_build() to construct such a URI from a CamelStore
and folder path string, change e_mail_folder_uri_from_folder() to build
the new URI, and teach e_mail_folder_uri_parse() to parse it.
e_mail_folder_uri_parse() will continue to know how to parse the older
URI formats still present in config files and GConf keys. This captures
the legacy knowledge neatly into one function.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
e_mail_folder_uri_parse()
Parses a folder URI and returns a corresponding CamelStore instance
and folder name string, or else sets a GError.
e_mail_folder_uri_equal()
Compares two folder URIs for equality.
Replaces camel_store_folder_uri_equal().
e_mail_folder_uri_from_folder()
This will eventually replace camel_folder_get_uri(), but for now it
just calls camel_folder_get_uri() and duplicates the URI string.
|
|
|
|
| |
Use e_mail_folder_append_message() instead.
|
|
'Send' and 'Save Draft' are now asynchronous and run outside of
Evolution's MailMsg infrastructure.
Add an EActivityBar to the composer window so these asynchronous
operations can be tracked and cancelled even in the absense of a main
window. Also add an EAlertBar to the composer window so error messages
can be shown directly in the window.
Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit()
and pass the EMsgComposer as the widget argument. The EMsgComposer will
decide whether to show an EAlertDialog or use the EAlertBar, depending
on the GtkMessageType of the alert.
|