Commit Graph

6848 Commits

Author SHA1 Message Date
0b56714119 Do not load disabled services while creating new folder 2011-12-19 20:24:15 +05:30
83565040a7 Bug #666512 - Busy-loop after pressing Send/Receive toolbar button 2011-12-19 14:20:49 +01: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
df85cb1b7a EMailSession: Add "activity-added" signal.
EMailBackend catches these signals and forwards the EActivity to
e_shell_backend_add_activity().
2011-12-16 10:57:57 -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
da5776c233 Bug #661043 - Printing causes email images to download 2011-12-16 10:52:53 +01:00
a9cea92f5e Avoid use-after-free in em_config_target_update_settings 2011-12-15 14:45:57 +01:00
c01655aa3f Fix a crash in pdf_drag_drop. Ref the objects while cloning format_html. 2011-12-15 12:48:26 +05:30
d300de403d Bug 566793 - Support Drop And Drag Into Nautilus As PDF File 2011-12-15 12:48:26 +05:30
a4f11df843 Bug 666081 - Duplicate typedefs
GCC handles it but not valid in C89 or C99.
2011-12-14 13:46:31 -05:00
63404e5dc1 MailFolderCache: Fix a double-free on unsubscribe.
The 'folders' hash table has a GDestroyNotify callback now,
but we were still freeing the folder_info struct explicitly.
2011-12-13 13:10:30 -05:00
034accdf3b EMSubscriptionEditor: Use alternating row colors.
The deeper the folder the greater the distance between the checkbox and
the folder name.  Can get difficult to match them on a blank background.
2011-12-13 11:48:07 -05:00
c9ba92156c EMSubscriptionEditor cleanups.
GQueues are easier to pass around than linked lists.
2011-12-13 11:45:58 -05:00
bb1e5f6046 Bug #578245 - View settings for threads getting lost 2011-12-13 09:14:59 +01:00
bca0d146da EMAccountEditor: Fix handling of auth-mechanism.
CamelNetworkSettings:auth-mechanism defaults to NULL, so when
creating a new CamelSettings instance, choose an initial value
from the CamelProvider's list of available CamelServiceAuthTypes.

This fixes the blank combo box issue and hopefully bug #665984.
2011-12-12 16:58:43 -05:00
f3ec041c74 MailFolderCache: Don't respond to "service-added" signals.
Causes folder info queries on disabled accounts.  Instead respond to
"service-enabled" and "service-disabled" signals, one of which always
immediately follows "service-added".

Comment this in both MailFolderCache and EMFolderTreeModel.
2011-12-12 15:00:55 -05:00
80d5b9a261 EMailSession: Fix silly mistake in constructed().
Need to load all accounts on startup, even disabled ones.
2011-12-12 11:19:39 -05:00
98a0fbb02b Adapt to camel_session_remove_service() changes. 2011-12-11 13:55:25 -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
e3b8f3fbb3 Move folder URI caching to MailFolderCache. 2011-12-08 00:32:22 -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
dcc3d40b2c MailFolderCache: Add class methods for signals. 2011-12-07 22:23:21 -05:00
8927e9d2e0 Remove unused function vfolder_create_part(). 2011-12-07 11:16:59 -05:00
6fa0ac14bc Remove unused function vfolder_revert(). 2011-12-07 11:09:49 -05:00
63b393f318 Remove 'vfolder_store' global variable.
Fetch the CamelService by its UID ("vfolder") as needed.
2011-12-07 11:05:26 -05:00
194ab4aebc EMFolderTreeModel: Check for vfolder store by its UID. 2011-12-07 10:57:35 -05:00
f278751c73 Remove unnecessary 'vfolder_store' declaration. 2011-12-07 10:53:57 -05:00
5f9af14a19 EMailReader: Avoid more runtime warnings. 2011-11-29 18:49:01 -06:00
f2b9a4b609 Bug #665103 - Blank composer/mail/network preferences windows 2011-11-29 14:16:55 +01:00
b16c246151 Bug #665123 - Incorrect unref of ESource in pine-importer 2011-11-29 13:10:13 +01:00
f325283cc3 Avoid a runtime warning in mail_reader_message_seen_cb(). 2011-11-28 23:58:28 -06:00
dff45d6cd8 Remove some unnecessary GConf crud. 2011-11-27 20:28:53 -06:00
a7699bb29f "citation-colour" -> "citation-color" 2011-11-27 18:03:45 -06: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
e64d6fe05c Miscellaneous cleanups. 2011-11-22 20:43:04 -05:00
2e60b6a4a2 Tweak GSettings schemas.
- Don't use the term "eplugin" for modules.

- Use the term "plugin" instead of "eplugin" for plugins.

- Split SpamAssassin settings into a separate schema.
2011-11-22 20:42:56 -05:00
adf6645d52 Fix some GSettings runtime issues. 2011-11-22 20:42:46 -05:00
265873082d Include git.mk in mail/mail-autoconfig/Makefile.am. 2011-11-22 20:42:40 -05:00
2e24e72b5e More compiler warning fixes. 2011-11-22 20:42:26 -05:00
00e4952799 Merge branch 'master' into wip/gsettings
Conflicts:
	mail/e-mail-paned-view.c
2011-11-22 14:52:33 -05:00
0c83b9b25d Miscellaneous cleanups. 2011-11-22 14:50:09 -05:00
c75f58d01b Fix compiler warnings. 2011-11-22 14:34:11 -05:00
c4fedc0494 Split MDN handling into a module. 2011-11-22 00:12:36 -05:00
2b8701fa2b EPreviewPane: Implement EAlertSink.
Means EMailBrowser no longer has to.

Also, EMailReader now provides a default implementation for
get_alert_sink() which just calls get_preview_pane() and casts.
2011-11-22 00:12:36 -05:00
5fabd29bd2 Add EMailReader.get_preview_pane() method.
Also give EMailReader::show-search-bar signal a default implementation,
since it can now dig up the search bar widget itself.
2011-11-22 00:12:36 -05:00
f9ffebc2f7 Mail widget cleanups. 2011-11-22 00:12:36 -05:00
6f3b2df27f Make EMailNotebookView and EMailPanedView extensible.
Since they each implement EMailReader.
2011-11-22 00:12:36 -05:00
c668a35028 Add EMailReader:message-loaded signal.
Emitted when the CamelMimeMessage has been obtained.
2011-11-22 00:12:36 -05:00
aecfbc5813 Add EMailReader:message-seen signal.
Replaces e_mail_reader_mark_as_read().
2011-11-22 00:12:36 -05:00