2007-05-09 Murray Cumming <murrayc@murrayc.com>
* src/widgets/modest-account-view.h:
* src/widgets/modest-account-view.c: (on_account_changed),
(on_account_removed). Added a boolean flag, set/unset by
modest_account_view_block_conf_updates(),
modest_account_view_unblock_conf_updates() to prevent unnecessary
updates, but this is not very useful because the gconf notifications are
so delays (maybe only on Maemo Bora).
So auto-updating is turned off, and these functions do an explicit
update when necessary.
However, something else is still doing too much work when adding/removing
accounts, probably in another part of the application.
* src/maemo/modest-account-view-window.c:
(on_delete_button_clicked), (on_edit_button_clicked),
(on_new_button_clicked): Use the new functions.
pmo-trunk-r1806