aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.