* src/widgets/modest-recpt.view.[ch]:
authorJose Dapena Paz <jdapena@igalia.com>
Mon, 5 Mar 2007 18:22:46 +0000 (18:22 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 5 Mar 2007 18:22:46 +0000 (18:22 +0000)
commit32ba35b63ed6986eab57acf8bfd76dba10ee129e
treeaaa8a0a8f9c019d1fbeb096a397099a219e8c0f2
parent22c65ebfd20d1203fd9500498205e8ab755298b9
* 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:
configure.ac
src/Makefile.am
src/gnome/Makefile.am
src/gnome/modest-address-book.c [new file with mode: 0644]
src/gnome/modest-main-window-ui.h
src/gnome/ui/modest-main-window-ui.xml
src/maemo/Makefile.am
src/maemo/modest-address-book.c [new file with mode: 0644]
src/maemo/modest-main-window-ui.h
src/maemo/ui/modest-main-window-ui.xml
src/maemo/ui/modest-msg-view-window-ui.xml
src/modest-address-book.h [new file with mode: 0644]
src/modest-text-utils.c
src/modest-text-utils.h
src/modest-ui-actions.c
src/modest-ui-actions.h
src/widgets/modest-mail-header-view.c
src/widgets/modest-mail-header-view.h
src/widgets/modest-msg-view.c
src/widgets/modest-msg-view.h
src/widgets/modest-recpt-view.c
src/widgets/modest-recpt-view.h