aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-shell-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-shell-backend.c')
-rw-r--r--mail/e-mail-shell-backend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/e-mail-shell-backend.c b/mail/e-mail-shell-backend.c
index 8b5f6542c7..15d9e0d063 100644
--- a/mail/e-mail-shell-backend.c
+++ b/mail/e-mail-shell-backend.c
@@ -501,8 +501,10 @@ static GtkActionEntry source_entries[] = {
static void
mail_shell_backend_init_preferences (EShell *shell)
{
+ EAccountList *account_list;
GtkWidget *preferences_window;
+ account_list = e_get_account_list ();
preferences_window = e_shell_get_preferences_window (shell);
e_preferences_window_add_page (
@@ -510,7 +512,7 @@ mail_shell_backend_init_preferences (EShell *shell)
"mail-accounts",
"preferences-mail-accounts",
_("Mail Accounts"),
- em_account_prefs_new (),
+ em_account_prefs_new (account_list),
100);
e_preferences_window_add_page (