Caches accounts window, editor and view in startup.
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 13 May 2009 15:01:11 +0000 (17:01 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Tue, 9 Jun 2009 14:43:16 +0000 (16:43 +0200)
commit8ef67be83b1b65ad112585d7e1ecefd8beb46b69
tree0d1439aa22effec5a0d3687c7114a7fd271b3837
parent0432264c1719278bd32d6121a07f2b07f3b2b733
Caches accounts window, editor and view in startup.

* src/hildon2/modest-accounts-window.[ch]
  (new method modest_accounts_window_pre_create): offer a way to precreate
  the accounts window before using it, to increase the effort done in
  prestart stage.
* src/widgets/modest-window-mgr.[ch]: added new virtual method
  create_caches. This is used for creating the window caches we need, instead
  of doing this in specific maemo code. In common implementation we load
  cached instances of view and editor.
* src/widgets/modest-hildon2-window-mgr.c: added implementation of
  create_caches that pre creates accounts window.
* src/modest-main.c: added a call to window mgr create_caches in startup
  process.
src/hildon2/modest-accounts-window.c
src/hildon2/modest-accounts-window.h
src/hildon2/modest-hildon2-window-mgr.c
src/modest-main.c
src/widgets/modest-window-mgr.c
src/widgets/modest-window-mgr.h