* src/widgets/modest-recpt.view.[ch]:
* Changed a lot the structure. Now it inherits from GtkScrolledWindow,
and contains a GtkTextView (instead of a GtkLabel).
* This scrolled window is limited to two lines. Then this widget includes
internal methods for this, and to manage specific scrollbuttons.
* Removed the calculation of address bounds in a string (it's now in
text utils).
* Added a method modest_recpt_view_set_recipients (), as now we don't
have the GtkLabel API set_text function.
* Migrated the button press/release events handling to use GtkTextView
API.
* Scrollbar button clicks move buffer line by line.
* Now the activate handler passes a string with the recipient list.
* src/widgets/modest-mail-header-view.[ch]:
* Modified recpt view activate handler (now it passes a string with
the activated address, not the recpt view object).
* Updates to fit the new ModestRecptView api (now it's not
a GtkLabel child, but a GtkScrolledWindow's).
* Force allocation update of expander (to prevent a nasty effect on
expanding more than one time the from/to recpt view. Now the
full expander is sent to the resize and draw queues.
* Added alignment hint for from/to label.
* Set spacing among other headers vbox to 0.
* Set the mail header "reallocate_redraws" to TRUE
* src/modest-msg-view.c:
* Use the new recpt view activate API.
* src/modest-ui-actions.[ch]:
* Added implementation of action "add to contacts". It
gets the primary selection and calls the addressbook
add to contacts implementation.
* Updated API of msg_recpt_view_activated (now handler
gets a string with the activated address).
* src/modest-text-utils.[ch]:
* Added modest_text_utils_address_range_at_position, used
to find addresses in a string (used for automatic selection).
* Added src/modest-address-book.h:
* Interface to addressbook functions. Implementations fall
in specific gnome/maemo modules.
* src/Makefile.am:
* Add modest address book interface.
* src/maemo/modest-main-window-ui.h:
* Added action for adding primary selection to contacts.
* Added src/maemo/modest-address-book.c:
* Implementation for maemo of address book interface.
* Currently it only contains stub implementations, and
a draft implementation of add to contacts method.
* Added src/gnome/modest-address-book.c:
* Implementation for gnome of address book interface.
* Currently it only contains stub implementations.
* src/maemo/Makefile.am
* Added compilation of address book implementation
* src/gnome/Makefile.am
* Added compilation of address book implementation
* src/maemo/ui/modest-msg-view-window-ui.xml:
* Added add to contacts menu option.
* src/maemo/ui/modest-main-window-ui.xml:
* Added add to contacts menu option.
* src/gnome/ui/modest-main-window-ui.xml:
* Added add to contacts menu option.
* configure.ac:
* Added dependency on osso-address-book in MAEMO platform.
pmo-trunk-r886
22 files changed: