Commit Graph

7074 Commits

Author SHA1 Message Date
a7bab4dcaf Add e_mail_reader_refresh_folder_name().
Fetches the CamelFolder asynchronously, then refreshes it asynchronously.
2012-07-09 08:44:22 -04:00
84cfc5b80c Add e_mail_reader_refresh_folder().
To replace mail_refresh_folder().
2012-07-09 08:44:22 -04:00
9c79788481 Add e_mail_reader_unsubscribe_folder_name().
Replaces e_mail_session_unsubscribe_folder().
2012-07-09 08:44:22 -04:00
451afa8429 Add e_mail_reader_delete_folder_name().
Fetches the CamelFolder asynchronously, then deletes it asynchronously.
2012-07-09 08:44:22 -04:00
acac6795d9 Avoid em_folder_tree_get_selected_folder() in some places.
em_folder_tree_get_selected_folder() currently blocks, and I'm about to
remove the function.  But there's a couple places where we just need to
block for now, else it would require a significant rewrite.  So execute
the em_folder_tree_get_selected_folder() logic manually in those places.
2012-07-09 08:44:21 -04:00
ec1e014458 Bug #524737 - Replace radio buttons in Search folder editor 2012-07-09 14:33:54 +02:00
9e270dd4ed Bug 677885 - Deleting account is chatty on console 2012-07-07 08:22:44 -04:00
73a55d4cc5 Bug 678606 - Crash under mail_backend_folder_deleted_cb() 2012-07-07 07:17:52 -04:00
5c53935ab2 Adapt to CamelStore API change.
compare_folder_name() -> equal_folder_name()
2012-07-06 22:14:20 -04:00
8bead3f14e Fix an unused variable warning. 2012-07-06 22:12:47 -04:00
749b49e507 Disconnect a CamelService after editing its settings.
This will force Evolution to reconnect to the service using the current
settings.  However this is not a complete solution.  If the new settings
now point to a completely different mail account, we leave behind cached
messages and database tables from the previous account such that you end
up with some weird hybrid of the previous account and current account.

I guess for now the answer is "don't do that", but we should try to
handle that more gracefully in the future -- more for architectural
correctness than it being a common real world use case.
2012-07-06 15:35:41 -04:00
8eae40f7e8 EMailConfigWindow: Add a "changes-committed" signal.
Emitted after all changes are successfully committed over D-Bus.

Can connect to this signal to perform followup actions, such as
disconnecting the corresponding CamelService.
2012-07-06 12:17:59 -04:00
09e374bfc6 Remove mail_ui_session_source_changed_cb().
This function removed a CamelStore from EMFolderTreeModel and then added
it again in response to the corresponding ESource emitting a "changed"
signal (presumably from editing a mail account and saving changes).

In the past this was the only way for changes to the account URI string
to take effect without restarting Evolution.  But we have CamelSettings
now and don't need this hack anymore.  Time for it to die.
2012-07-06 12:17:59 -04:00
56333d439b Bug #677604 - Critical warnings on evolution start 2012-07-02 18:32:00 +02:00
8b7bd45b7c Bug #246231 - Add Filter Rule dialog - UI suggestions 2012-07-02 18:11:43 +02:00
90b80d173f Bug #661886 - Avoid vertical scrolling in the filtering rules editor 2012-07-02 16:45:19 +02:00
e5eb699ce3 Fix few memory leaks 2012-06-27 20:17:28 +02:00
9cdae1a4cc Bug #257283 - Can't select multiple folders at once in vFolder sources 2012-06-27 19:10:45 +02:00
0da915da8d Cancel scheduled EMailDisplay reload in _dispose() 2012-06-27 19:07:27 +02:00
8de1c927df Don't load images in preview pane when openning Preferences Dialog
Openning the Preferences dialog for the first time causes many
property bindings to be created. GLib emits a lot of ::notify signals
during this, one of them being about image-loading-policy.

We now correctly check, whether the change was to allow loading
images, or not (and we don't display them in that case).

Finaly, e_mail_display_reload() will always schedule the action via
g_idle_add() so that we can merge plenty of _reload() calls caused by
the afformentioned ::notify emitions into single call when all the noise
is over.
2012-06-27 18:04:52 +02:00
20ec9d7c1f Bug #678834 - [prefer-plain] Setting change works only after restart 2012-06-27 14:18:39 +02:00
99a875edae Bug #515004 - Allow toggling between text and HTML view of mail 2012-06-26 13:40:59 +02:00
cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
f960fd2dff Reduce usage of g_type_class_peek_parent().
G_DEFINE_TYPE macros define a static "parent_class" variable.
2012-06-24 20:31:42 -04:00
922ca943bb Bug 678609 - No suggested name for new mail account 2012-06-22 20:12:39 -04:00
e9b5561fd0 EMailConfigSummaryPage: Remove "account-name" property.
It's redundant.  Just set the display name on one of the ESources.
2012-06-22 20:12:11 -04:00
97792841a0 Keep display names synchronized during account creation.
Reworked part of commit cc55cf3e68,
which caused a bunch of runtime warnings.
2012-06-22 19:07:23 -04:00
d9833b43ab Bug 678608 - Please enter password for mail account "Unnamed" 2012-06-22 15:25:19 -04:00
cc55cf3e68 Keep display names synchronized during account creation. 2012-06-22 15:04:37 -04:00
ae49f89b72 Bug 678613 - Keep display name synchronized across all mail sources 2012-06-22 10:39:35 -04:00
9f9b8c5902 EMailConfigNotebook: Minor code cleanup. 2012-06-22 10:39:34 -04:00
1a5761811b Update default Inbox to fit the terms in UI 2012-06-21 11:58:54 +02:00
d6ad0c22a2 Bug 678397 - Move "mail-to-task" actions to a submenu
Shortens the Message menu a little for low screen resolutions.
2012-06-21 01:31:56 -04:00
50a5e067d5 Bug 678393 - Disable Properties for built-in mail stores 2012-06-20 14:40:06 -04:00
d057ced420 Bug #678292 - Due Date does not display in follow-up flag dialogue box 2012-06-20 15:37:17 +02:00
b724ca9d48 Adapt to CamelDataCache API change.
camel_data_cache_get_filename() dropped its unused GError parameter.
2012-06-19 11:51:41 -04:00
1cf93ca25e Avoid crash for providers without configuration backend 2012-06-19 13:42:09 +02:00
baa4fca60b Disable a leftover debug message 2012-06-19 10:31:44 +02:00
9e88dd64e7 Bug #678293 - Already downloaded images are not shown 2012-06-19 10:27:05 +02:00
2c51b159c7 Reduce amount or EMailDisplay reloads when displaying Preferences dialog 2012-06-19 10:27:05 +02:00
3dfda2606c Bug #431497 - Offline mode should disable loading of images from the internet 2012-06-18 15:44:32 +02:00
6c05b09be1 Do not call g_object_notify() when property didn't change 2012-06-18 15:35:44 +02:00
fe59b10f04 Bug #677608 - Fails to open message which is not yet downloaded 2012-06-18 13:44:58 +02:00
031c40a517 Bug #764467 - URL popup shows all Copy options 2012-06-18 13:42:39 +02:00
88a372b27e Fix some memory leaks 2012-06-18 13:42:39 +02:00
94daae3dba Remove the last remaining usage of GConf 2012-06-15 09:04:08 +02:00
e439e17e2e Make em_utils_in_addressbook() cancellable 2012-06-14 13:01:57 +02:00
4f47f662f6 Bug #674887 - Hang on sender's photo lookup 2012-06-14 12:14:45 +02:00
a36294e7c7 Bug 677995 - Asks password for disabled mail account
Remove mail_folder_cache_service_added() and rely instead on
mail_folder_cache_service_enabled()/disabled().  Despite the function
names the folder cache doesn't actually care about enabled status, it
simply maintains a set of CamelStores to monitor.  We should refactor
the folder cache API to better reflect that.

EMailAccountStore always immediately follows a "service-added" signal
emission with either a "service-enabled" or "service-disabled" emission,
which will add or remove the service from the folder cache.
2012-06-13 11:19:56 -04:00
7530345eb7 Bug 677882 - Cannot create account with Sendmail 2012-06-13 08:59:44 -04:00