* The "account-changed" signal is now properly managed in the ModestTnyAccountStore...
authorSergio Villar Senin <svillar@igalia.com>
Thu, 27 Sep 2007 18:00:57 +0000 (18:00 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 27 Sep 2007 18:00:57 +0000 (18:00 +0000)
commita2f971fd9378912d99ca8ce97c514bba81a3c4e2
treec87b1df76c35d85f93f073fae23a1ef1ffed84f0
parent9813bfcf4189f53a41e6c7839863016009aa88d8
* 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
19 files changed:
src/gnome/modest-account-assistant.c
src/maemo/easysetup/modest-easysetup-wizard.c
src/maemo/modest-account-settings-dialog.c
src/maemo/modest-connection-specific-smtp-window.c
src/maemo/modest-main-window.c
src/modest-account-mgr-helpers.c
src/modest-account-mgr-helpers.h
src/modest-account-mgr-priv.h
src/modest-account-mgr.c
src/modest-account-mgr.h
src/modest-mail-operation.c
src/modest-tny-account-store.c
src/modest-tny-account.c
src/modest-tny-account.h
src/modest-ui-actions.c
src/widgets/modest-account-view.c
src/widgets/modest-folder-view.c
src/widgets/modest-global-settings-dialog-priv.h
src/widgets/modest-global-settings-dialog.c