* Fixes NB#91153, removed two unused fields pmo-trunk-r6187
* speed up modest_account_mgr_has_accounts by caching the status instead of querying modest_conf (gconf) all the time pmo-trunk-r3751
* The "account-changed" signal is now properly managed in the ModestTnyAccountStore and in ModestTnyAccount, there were some errors in the handler that were actually preventing the account update to happen * Changed the signature of the method modest_tny_account_update_from_account * Added display_name_changed signal to notify changes in the display name of the accounts * ModestConf does not listen for key changes, all signal emissions related to changes in the configuration must be triggered by the account manager * Removed the ModestConf delayed notification system, we do not need it since we're not listening for chey changes there anymore * All the modest_account_mgr_(get/set)_(int/book/string/list) are now private methods and could not be used by third parties * Added a lot of getters and setters to the modest-account-mgr-helpers. We did that to ensure that nobody changes the configuration keys directly (because maybe we want to notify key changes) * Renamed old modest_server_account_get_xxx by modest_account_mgr_get_server_account_xxx * Renamed old modest_server_account_set_xxx by modest_account_mgr_set_server_account_xxx * FolderView now changes the display name of an account if it changes * AccountView now changes the display name of an account if it changes * Removed unused code here and there * Several aesthetic changes here and there * TODO: I realized that the account-settings dialog thinks that something has changed when you change it and then revert the change * TODO: detect in the account-settings dialog which changes should issue an "account-changed" signals and which ones not, for example a change in the display name should not force an account reload pmo-trunk-r3433
* add missing commit... pmo-trunk-r3399
* more changes to the account management; now the following should work again: - changing account names (updates modest-account-view, and modest-folder-view) - expand root folders - change modest-account-mgr to only emit change signals once per 500ms - modest-account-mgr changes notification now only give the "parent account", not the server account, and not for every single key - accounts are changed, not recreated pmo-trunk-r2888
2007-07-31 Philip Van Hoof <pvanhoof@gnome.org> * Merging back devel/sessionwork to trunk/ pmo-trunk-r2866
2007-06-17 Johannes Schmid <johannes.schmid@openismus.com> * configure.ac: Fixed build with hildon < 0.99 * src/maemo/modest-account-view-window.c: (on_edit_button_clicked): Check if the selected account is busy instead of checking all accounts * src/modest-account-mgr-priv.h: * src/modest-account-mgr.c: (modest_account_mgr_class_init), (modest_account_mgr_init), (compare_account_name), (modest_account_mgr_set_account_busy), (modest_account_mgr_account_is_busy): * src/modest-account-mgr.h: Added busy information to the account manager. It possible to set an account to busy or not busy now. * src/modest-mail-operation.c: (modest_mail_operation_finalize), (modest_mail_operation_update_account), (modest_mail_operation_notify_end): Set the account to busy/not busy depending on the operation state. * src/widgets/modest-account-view.c: (modest_account_view_finalize), (get_last_updated_string), (update_account_view), (on_account_busy_changed), (init_view): Show string \"Refreshing...\" if the account is currently busy. All this fixes projects.maemo.org bug NB#59711 pmo-trunk-r2268
* Fixes NB#59753, the account that is created is now visible if it's the unique account * The visible account key is removed if the currently visible account is deleted * the View->AccountX option to view a particular account works again * Fixed a bug when opening messages that are already opened * The folder view now listens to account-remove signal * refactored modest_tny_account_store_get_tny_account_by_* in a single function * Fixed a bug when removing the visible account, now the default one is selected as the new visible account pmo-trunk-r2198
2007-06-08 Murray Cumming <murrayc@murrayc.com> * src/modest-account-mgr-priv.h: Added a timeout id and a GSList of keys changed in the last X seconds. * src/modest-account-mgr.h: * src/modest-account-mgr.c: (on_timeout_notify_changes), (on_key_change), (modest_account_mgr_class_init), (modest_account_mgr_init), (modest_account_mgr_finalize): As the keys are changed, save them in a GSList* and signal that GSList* further every X seconds, to batch changes, to allow us to do just one update per batch. This should fix bug projects.maemo.org bug NB#56472 and bug NB#56941 and other (UI-blocking) delays when changing account settings. * src/modest-tny-account-store.c: (on_account_changed): Adapted to changed signal signature. * src/modest-conf.c: (modest_conf_set_list), (modest_conf_on_change): Reenable notification. (modest_conf_maemo_fake_on_change): Comment out the hack that notified immediately instead of asynchronously. * src/widgets/modest-account-view.h: * src/widgets/modest-account-view.c: (update_account_view): Select the previously-selected account ID, if possible. This fixes projects.maemo.org bug NB#56933. (on_account_changed), (on_account_removed), (modest_account_view_select_account): Remove the block/unblock functions because they were not useful. * src/maemo/modest-account-view-window.c: (on_delete_button_clicked), (on_edit_button_clicked), (on_new_button_clicked): Remove the use of the non-working block/unblock. pmo-trunk-r2130
* all: - implemented 'default' account concept pmo-trunk-r724
* modest-account-mgr*.[ch]: - split ModestAccount mgr in the core functionality and 'helpers', to keep things manageable pmo-trunk-r720