2007-05-24 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Thu, 24 May 2007 10:40:39 +0000 (10:40 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Thu, 24 May 2007 10:40:39 +0000 (10:40 +0000)
commitc88416e79b8c040a82eb7b11870598862c053a10
tree823affe8addf006cdad0513f05e986900348c824
parentfe4fd587aea9bd72c73831ff864d0dd70fec3dd7
2007-05-24  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr-helpers.c:
        (modest_account_mgr_get_default_account): Make sure that at least
        one account is always the default, if there are any enabled accounts.
        This is just a sanity check that shouldn't be necessary.

        * src/modest-account-mgr-priv.c:
        (_modest_account_mgr_account_from_key): Unescape the conf key to
        get the real account name. For instance, this is an issue if a space
        was in the account name, which can happen because the account name
        is generated from the display name.
        (_modest_account_mgr_get_account_keyname): Always escape the
        account name.
        * src/modest-account-mgr.c: (modest_account_mgr_account_names):
        Unescape the conf keys to get the real account names.

        For instance, previously the is-default radio button in the accounts
        list was not checked for any accounts at first. This fixes that,
        and might fix several similar bugs.

pmo-trunk-r1968
ChangeLog2
src/modest-account-mgr-helpers.c
src/modest-account-mgr-priv.c
src/modest-account-mgr.c