2007-05-28 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Mon, 28 May 2007 09:48:34 +0000 (09:48 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 28 May 2007 09:48:34 +0000 (09:48 +0000)
commit25cf2dcb2cafa1281f23363ad314cddf1cea12a3
tree8bb7c095d7e0f2669f9d49d1cecdf645a08187eb
parente69b5be4067684cc2fe642f797a5d9ef9320a58c
2007-05-28  Murray Cumming  <murrayc@murrayc.com>

* src/modest-local-folder-info.h:
        * src/modest-local-folder-info.c:
        (modest_per_account_local_outbox_folder_info_get_maildir_path),
        (modest_per_account_local_outbox_folder_info_get_maildir_path_to_ou
        tbox_folder): Take a modest account name instead of a server TnyAccount,
        so we can have per-modest-account rather than per-transport-account
        outboxes.
        We must make sure that we change or recreate the exisitng send queues
        when the connection changes for connection-specific transport accounts.

        * src/modest-tny-account-store.c:
        (create_per_account_local_outbox_folders): Create outboxed per modest
        account, not per transport account.

        * src/modest-tny-account.h:
        * src/modest-tny-account.c:
        (modest_tny_account_get_special_folder): For outboxes, get the
        parent modest account name. The account is ignored for other folders.
        (modest_tny_account_new_for_per_account_local_outbox_folder): Take a
        modest account name rather than a server TnyAccount.

pmo-trunk-r1979
ChangeLog2
src/modest-cache-mgr.c
src/modest-local-folder-info.c
src/modest-local-folder-info.h
src/modest-tny-account-store.c
src/modest-tny-account.c
src/modest-tny-account.h