Commit Graph

240 Commits

Author SHA1 Message Date
94daae3dba Remove the last remaining usage of GConf 2012-06-15 09:04:08 +02:00
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
3449e5fcc7 Adapt mail to the new ESource API. 2012-06-02 23:00:40 -04:00
6c05da47e3 Bug #669893 - Send/Receive dialog content too tall 2012-05-14 18:57:26 +02:00
299521f02c Whitespace cleanup.
Replace 8-space indentation with tab characters, and various other
automated cleanups.
2012-04-01 23:15:38 -04:00
afb3db076d Add ability to specify INBOX for non-storage type accounts. Email daemon
allows to store mails in individual INBOX rather than a common one.
2012-03-29 11:31:09 +05:30
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
9d2db80938 mail-send-recv.c: Disregard CamelNullStores.
Don't want these things showing up in the Send & Receive window.
2012-01-25 11:08:25 -05:00
61ae36351b Introduce libemail-engine and libemail-utils.
These libraries are bound for E-D-S so they live at the lowest layer of
Evolution for now -- even libeutil can link to them (but please don't).

This is the first step toward moving mail handing to a D-Bus service.
2012-01-18 23:48:47 -05:00
79e691cc11 get_receive_type(): Avoid hard-coding built-in mail store names. 2012-01-04 09:47:38 -05:00
9df46251a3 Bug #666832 - Skip local/vfolder services from Send/Receive update 2012-01-03 19:18:38 +01:00
987fb91d5e Reduce diff noise with account-mgmt branch. 2011-12-19 22:27:39 -05:00
d17065a40d Fix compiler warnings.
gtk_dialog_new_with_buttons() requires some buttons, otherwise use
gtk_dialog_new() and set title/transient-for/etc properties manually.
2011-12-17 09:30:50 -05:00
a9cfed5938 Avoid passing EMailBackend as much as possible.
More mail API churn... reversing some previous API decisions.

I've made some key API changes to EMailSession on the account-mgmt
branch which should allow for this, and will hopefully also benefit
the "email-factory" branch.

EMailBackend barely needs to exist anymore, except as the owner of
EMailSession.

For several low-level functions, we replace its EMailBackend parameter
with EMailSession and EAlertSink parameters; the latter so it can still
pass user alerts up the chain.
2011-12-16 10:58:54 -05:00
b95e613147 mail-send-recv.c: Avoid using EAccount and CamelURL if possible.
EAccount is deprecated and mail URLs are being phased out.

Use EMailAccountStore and CamelService instead.
2011-12-16 10:57:57 -05:00
7c0c40f833 Reorder accounts by drag-and-drop.
This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3.

Account reordering is now done by drag-and-drop instead of up/down
buttons.

Turned out to be a wee bit more complicated than I initially thought.

This scraps EAccountManager and EAccountTreeView and replaces them with
new classes centered around EMailAccountStore, which EMailSession owns.

EMailAccountStore is the model behind the account list in Preferences.
The folder tree model now uses it to sort its own top-level rows using
gtk_tree_path_compare().  It also broadcasts account operations through
signals so we don't have to rely so heavily on EAccountList signals,
since EAccountList is going away soon.

Also as part of this work, the e-mail-local.h and e-mail-store.h APIs
have been merged into EMailSession and MailFolderCache.
2011-12-10 21:34:19 -05:00
6097897638 mail_folder_cache_note_store: CamelSession arg is unnecessary.
The CamelStore argument already has the CamelSession:

    session = camel_service_get_session (CAMEL_SERVICE (store));
2011-12-07 22:27:16 -05:00
f6f46ce7fc Use e_restore_window() and "org.gnome.evolution.window".
Apply it to all windows with persistent size and/or position.
2011-11-27 18:03:45 -06:00
41f0d7117e Adapt to CamelOperation API changes. 2011-11-06 20:10:57 -05:00
e2b6ff7a6c Miscellaneous cleanups from the account-mgmt branch.
Reducing diff noise so I can see important changes easier when comparing
branches.  A few API changes, but nothing that affects functionality.
2011-09-27 09:31:13 -04:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
f014ab82c8 Coding style and whitespace cleanups. 2011-06-08 13:14:48 -04:00
420ac55791 Bug #651062 - Emit operation progress on the correct cancellable 2011-05-30 08:43:41 +02:00
6ddc2340d0 Bug 651062 - refresh_folders_exec() reports progress incorrectly. 2011-05-26 07:04:05 -04:00
cb97c2dc8f Coding style and whitespace cleanup. 2011-05-21 17:56:06 -04:00
998b265b13 Bug #646033 - Update progress in Send/Receive dialog 2011-05-13 16:31:13 +02:00
8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
4cfb84c573 Whitespace and coding style cleanups. 2011-05-07 18:48:38 -04:00
2b1b637832 mail-send-recv.c:get_folders(): Adapt to CamelVeeStore change.
See E-D-S commit 26c74be4066dff41dd1e9c9adc1c2c116142ba60.
2011-05-06 13:32:33 -04:00
397aeade05 Adapt to CamelService changes. 2011-04-21 07:45:45 -04:00
f1e4164380 Bug #643218 - Local delivery doesn't deliver after maildir migration 2011-03-03 14:13:33 +01:00
0109aa3a92 More whitespace cleanup. 2011-01-30 11:33:28 -05:00
21ab8044da Coding style and whitespace cleanup. 2011-01-29 20:22:57 -05:00
ba05584de5 Dialogs no longer have separators. 2011-01-25 10:28:26 -05:00
7ed120d344 Do not hide maildir accounts from UI 2011-01-12 16:38:06 +01:00
6ed4050d05 Add option "Check for new messages in all active accounts"
As a follow-up for bug #633949
2010-11-30 09:30:58 +01:00
a3705d79b0 Bug #633949 - Add an option to disable new e-mail check at startup 2010-11-29 19:48:58 +01:00
e39dd931bc Bug #207580 - Allow new mail check on individual accounts 2010-11-25 18:10:14 +01:00
e3dda0436d Migrate the local store from mbox to maildir format 2010-11-23 02:04:03 +05:30
dfa68e5beb Bug #632676 - Only "Checking for new mail" in status bar and nothing else 2010-11-09 12:45:17 +01: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
ec170e47fd Move more account utilities to e-account-utils.c. 2010-10-18 12:32:38 -04:00
35e55a8d6e Send errors to an EAlertSink instead of the task bar.
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.
2010-10-18 12:32:37 -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