* Added (modest_combo_box_set_pair_list), to be able to set
the pair list after constructing the widget.
* src/widgets/modest-window-mgr.[ch]:
* Added a new cache for preconstructing message view and editor
so that we can speed up opening messages. We provide methods
..._get_msg_view_window and ..._get_msg_edit_window. The
cached instances are constructed in the idle loop. These
methods are used internally in constructors of editor and
view.
* src/maemo/modest-msg-edit-window.c:
* Completely new structure of the widget construction. Now it
happens in two stages. First stage is in init_window. Here it
constructs as much as possible the widget without any specific
running parameter. Then the ..._new constructor connects all
signals, configures the widget with ModestConf and sets the
message. This way, we can precreate the widget in the window
manager cache.
* Modified menubar_to_menu to ask for the popup menu in xml
instead of the old hack of reparenting children of menubar.
* src/maemo/modest-msg-view-window.c:
* Similar refactoring to the one in editor. Now init creates all
the widgets, and they're finally set up in construction. We
also use the window manager cache.
* Similar change to menubar_to_menu.
* src/maemo/ui/modest-msg-view-window-ui.xml,
src/maemo/ui/modest-msg-edit-window-ui.xml:
* Instead of a <menubar> I changed it to be a <popup> to get
a GtkMenu instead of a GtkMenubar
* src/modest-widget-memory.c:
* Cleaned a small leak.
pmo-trunk-r3738