Commit Graph

24 Commits

Author SHA1 Message Date
265b23b1eb EMFolderSelectionButton: Add a "folder-uri" property.
And rename a couple get/set functions to match the property name.
2011-09-14 14:08:46 +02:00
84339b3be5 Do not use deprecated EBook/ECal API 2011-06-29 18:42:27 +02:00
e7954c3f25 Coding style and whitespace cleanups. 2011-06-29 18:42:26 +02:00
7050475f84 EMFolderTree: Store an EMailBackend instead of an EMailSession.
All this so EMFolderTree can submit EActivity instances for async ops.
You can obtain an EMailSession from an EMailBackend, but not vice versa.

Creates lots of pretty ripples in the mail code, but ultimately reduces
complexity.  So it's a code cleanup of sorts.
2011-06-29 18:42:19 +02:00
5146ff4c53 Coding style and whitespace cleanup. 2011-06-29 18:42:17 +02:00
54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
578214584c Whitespace and coding style cleanups. 2011-06-29 18:42:10 +02:00
1448ecee67 Fix translations being boken by removing calls to bindtextdomain() from plugins.
It shouldn't be needed for plugins that live in the evolution source tree anyway
since they should just use the translation domain they inherit from main().
2011-06-29 18:41:52 +02:00
7aacf983b3 Coding style and whitespace cleanup. 2011-06-29 18:41:41 +02:00
8efc1bc6f9 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-06-29 18:41:31 +02:00
919c690de0 Bug #641451 - Crash in folder_selection_button_new
Crash when importing any pst file.
2011-06-29 18:41:31 +02:00
c881b5bc5e Simplify EActivity.
With unintrusive error dialogs gone, we can cut some unnecessary bits
out of EActivity.

I'm also adding a new enum property called "state", which is one of:

    E_ACTIVITY_RUNNING
    E_ACTIVITY_WAITING
    E_ACTIVITY_CANCELLED
    E_ACTIVITY_COMPLETED

The state of an activity must be explicitly changed.  In particular,
when the user cancels an activity the state should be set only after
confirming the operation has been cancelled and not when cancellation
is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when
the GCancellable emits "cancelled").  EActivityBar and EActivityProxy
widgets have been updated to make this distinction clearer in the UI.

E_ACTIVITY_WAITING will be used when activities have to be queued and
dispatched in sequence, which I haven't written yet.
2010-10-22 14:21:22 -04:00
ae478d1e3c Collect mail enum types in e-mail-enums.h.
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.
2010-10-18 14:31:16 -04:00
a06e4484b8 Give MailSession a permanent home.
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.
2010-10-12 13:58:59 -04:00
e41b4083a6 camel_operation_new() now returns a GCancellable pointer. 2010-09-29 09:33:36 -04:00
31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
5310e4a0b1 Adapt to CamelOperation API changes. 2010-09-14 23:48:02 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
2e46ae1205 dbx-importer: Fix printf format warning 2010-08-02 15:51:35 +01:00
eb29179da6 Coding style and whitespace cleanup. 2010-07-11 22:25:06 -04:00
137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
4690bbe1d7 Bug 623157 - Missing linker flag in dbx-import 2010-06-29 14:13:05 -04:00
3b58c72b82 Add Outlook Express DBX mailbox file importer plugin
[patch v2: Don't error on empty mailboxes, build plugin by default]
2010-06-29 15:37:08 +01:00