2007-08-01 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Wed, 1 Aug 2007 18:29:35 +0000 (18:29 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 1 Aug 2007 18:29:35 +0000 (18:29 +0000)
commit01db4e94dcf1e9818000eb08c90bc3b09c3a5071
tree91ab97e0e53340681cd9e7d72bfe936ee579e350
parentaddd1287234fa35a521c56e6d6472de35739b3a2
2007-08-01  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr-helpers.h:
* src/modest-account-mgr-helpers.c:
Added modest_account_mgr_get_first_account_name(),
using code from modest_account_mgr_set_first_account_as_default().

* src/maemo/modest-main-window.c: Added set_at_least_one_account_visible().
(account_number_changed): Call set_at_least_one_account_visible() so that
the first account is visible when first added, without the user having to
use the View menu.
I do wonder how this worked before.

pmo-trunk-r2900
ChangeLog2
src/maemo/modest-main-window.c
src/modest-account-mgr-helpers.c
src/modest-account-mgr-helpers.h