2007-04-30 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Mon, 30 Apr 2007 13:22:50 +0000 (13:22 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 30 Apr 2007 13:22:50 +0000 (13:22 +0000)
commit864c085607658b16daf578e94e63916e9832af83
tree7dd8fd18aadf96939acc8c33d9abc63510e42fcd
parent047b8ee1a3e839f4dc8c82db10a75cec944ec4b7
2007-04-30  Murray Cumming  <murrayc@murrayc.com>

* src/widgets/modest-recpt-editor.c:
        (modest_recpt_editor_on_key_press_event): Put an #ifdef around the
        use of gtk_text_buffer_get_has_selection() (from GTK+ 2.10), and add a
        TODO comment for this. This fixes the build.

        * src/modest-ui-actions.c: Add do_send_receive(), though it might not
        be the best place for it. This will in future update all auto-update accounts,
        rather than just the current/default account, when that gconf key exists.
        (modest_ui_actions_on_send_receive): Offer the settings dialog (or wizard)
        if there are no accounts, before calling do_send_receive().
        * src/modest-ui-actions.h: Specify the callback for the Send/Recieve menu item.

        * src/gnome/modest-main-window.c: (on_online_toggle_toggled):
        * src/maemo/modest-main-window-ui.h:
        * src/maemo/modest-main-window.c: (on_connection_changed),
        (sync_accounts_cb): Use do_send_receive() instead of calling the signal handler
        directly, becaue the signal handler does more.

pmo-trunk-r1722
ChangeLog2
src/gnome/modest-main-window.c
src/maemo/modest-main-window-ui.h
src/maemo/modest-main-window.c
src/modest-ui-actions.c
src/modest-ui-actions.h
src/widgets/modest-recpt-editor.c