aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
Commit message (Collapse)AuthorAgeFilesLines
* Change EMEventTargetFolder contents.Matthew Barnes2011-05-301-11/+6
| | | | | | Give it a CamelStore and folder name instead of an EAccount and folder URI. Both the EAccount and folder URI can be easily retrieved from the CamelStore and folder name.
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
|
* Remove mail_remove_folder().Matthew Barnes2011-05-211-1/+1
| | | | Use e_mail_folder_remove() instead.
* Add e_activity_handle_cancellation().Matthew Barnes2011-05-121-2/+2
| | | | | | | | Convenience function for use in GAsyncReadyCallback functions. This acknowledges the cancellation, so that the activity's description changes from "(cancelling)" to "(cancelled)" and the description appears crossed out in the UI for a moment before disappearing.
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-1/+2
|
* MailFolderCache: Drop folder URI in "folder-changed" signal.Matthew Barnes2011-05-071-1/+6
| | | | | We already include a CamelStore and folder name string in the signal arguments, so it's trivial to reconstruct the URI if it's needed.
* MailFolderCache: Emit folder names instead of URIs in signals.Matthew Barnes2011-05-061-5/+6
|
* EMEventTargetFolder: Add an EAccount member.Matthew Barnes2011-05-031-1/+6
| | | | | The mail-notification plugin can use the EAccount member directly instead of searching for it by URI.
* EMailBackend: Ignore cancelled background jobs.Matthew Barnes2011-04-251-1/+4
|
* Adapt to new CamelSession background job API.Matthew Barnes2011-04-241-4/+113
|
* Do not prompt for offline when mail backend not startedMilan Crha2011-03-091-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
|
* Do not flush Outbox when mail shell backend not startedMilan Crha2011-03-041-1/+4
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-7/+3
|
* Remove NULL checks for GObject methods.Matthew Barnes2011-02-131-4/+4
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* Coding style and whitespace cleanup.Matthew Barnes2011-01-301-2/+4
|
* Bug #638808 - camel_shutdown() called too earlyMilan Crha2011-01-111-1/+10
|
* Avoid idle callbacks in EMailBackend initialization.Matthew Barnes2011-01-081-21/+0
| | | | | | | | If the migration phase has to show a dialog the idle callback for intializing mail stores will run too soon. Instead, hook it onto the EShellBackend start() method. Migration code can initialize mail stores early if it needs to.
* Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-061-0/+3
|
* Bug #620609 - Empty trash at exit doesn't workMilan Crha2010-11-301-4/+4
|
* Bug #632781 - Cannot disable search foldersMilan Crha2010-11-101-2/+0
|
* Pass an EAlertSink to e_alert_sink_submit_alert().Matthew Barnes2010-11-011-1/+2
| | | | | | | Passing a random GtkWidget and then searching its ancestors for an EAlertSink turned out to be not as useful as I thought. Most of the time we know about and have access to the widget that implements EAlertSink, so just pass it directly as an EAlertSink.
* Kill mail_store_set_offline().Matthew Barnes2010-10-231-17/+23
| | | | | | | | | | Replace it with new async functions: e_mail_store_go_offline() e_mail_store_go_offline_finish() e_mail_store_go_online() e_mail_store_go_online_finish()
* Collect mail enum types in e-mail-enums.h.Matthew Barnes2010-10-191-1/+2
| | | | | | | | | And generate GTypes for each of them in e-mail-enumtypes.[ch]. Also, the glib-gen.mak script forced me to add a <mail/e-mail.h> top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too.
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-12/+54
| | | | | | This marks the end of unintrusive error dialogs, which were too unintrusive. We now show errors directly in the main window using the EAlert / EAlertSink framework.
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-2/+4
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-46/+119
| | | | | | | | | | | Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.
* Remove some unused bits from mail-mt.c.Matthew Barnes2010-09-301-2/+2
|
* Adapt to Camel API changes.Matthew Barnes2010-09-281-2/+2
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-1/+2
|
* Coding style cleanups.Matthew Barnes2010-09-131-1/+1
|
* Remove unused variable.Matthew Barnes2010-07-281-1/+0
|
* Migrate ~/.evolution to XDG base directories.Matthew Barnes2010-07-271-2/+14
| | | | | Migration runs just before the main loop starts. It's just a sequence of local directory and file renames.
* More code cleanup.Matthew Barnes2010-07-271-0/+1
|
* Drop the "quote-from-selection" property.Matthew Barnes2010-07-261-1/+0
| | | | | David's solution is simpler: check if the HTML widget is mapped. Avoids having to propagate the property to Srini's new classes.
* Bug #534369 - [new-mail-notify] Intermittent notificationsMilan Crha2010-06-151-1/+1
|
* Bug 603468 - Improve handling of --quit optionMatthew Barnes2010-06-131-0/+5
|
* Merge branch 'express2'Matthew Barnes2010-05-271-0/+6
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-251-2/+2
| |
| * Don't show mail alerts on calendar view in express mode.Srinivasa Ragavan2010-04-301-0/+6
| |
* | Adapt to Camel API changes.Matthew Barnes2010-05-081-20/+3
| | | | | | | | | | This also removes the boxed CamelObject GType, since CamelObject is an honest-to-goodness GObject now.
* | Adapt to Camel API changes.Matthew Barnes2010-04-301-6/+1
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-241-1/+1
| |
* | Only #include Camel's top-level header.Matthew Barnes2010-04-031-2/+0
|/
* Bug 361145 - Evolution hangs when formatting message - fixes part of it.Chenthill Palanisamy2009-12-281-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2009-12-261-1/+3
|
* Remove the EShellBackend parameter from mail_session_init()Jonathon Jongsma2009-12-211-1/+1
| | | | | | Last shell-related dep killed in MailSession https://bugzilla.gnome.org/show_bug.cgi?id=604952
* The shell backend is responsibile for setting the MailSession onlineJonathon Jongsma2009-12-211-0/+2
| | | | | | | | Previously the mail session set itself online inside mail_session_init() by checking whether the shell was online. This removes one more dependency from MailSession to EShell by moving that responsibility up one level. https://bugzilla.gnome.org/show_bug.cgi?id=604952
* Move the gross hack for EAccountComboBox up a levelJonathon Jongsma2009-12-211-0/+3
| | | | | | | | This hack really needs to be fixed correctly, but I can't think of a good solution for now. So at the very least, move the hack up a level where it won't cause dependency problems for the mail-to-eds split. https://bugzilla.gnome.org/show_bug.cgi?id=604952
* Implement get_data/config_dir vfuncs for mail backendJonathon Jongsma2009-12-191-0/+17
| | | | | | Now the backend specifies the data dir for the mail module. Obviously it uses the same directory as it previously used, it's just that the responsibility for defining that value has moved to a different place.
* Move MailFolderCache signal handlers to EMailBackend.Matthew Barnes2009-12-171-0/+87
| | | | | Move the MailFolderCache signal handlers from EMailShellBackend down to EMailBackend (in libevolution-mail.so) to share with Anjal.
* Introduce EMailBackend into libevolution-mail.Matthew Barnes2009-12-161-0/+408
EMailBackend is an abstract subclass of EShellBackend that handles online and offline modes and application shutdown. Placing this in the shared mail library allows Anjal to reuse it. Evolution's mail module further extends this class as EMailShellBackend.