aboutsummaryrefslogtreecommitdiffstats
path: root/capplet/settings
diff options
context:
space:
mode:
Diffstat (limited to 'capplet/settings')
-rw-r--r--capplet/settings/mail-account-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capplet/settings/mail-account-view.c b/capplet/settings/mail-account-view.c
index 7b4511ea81..01c290e400 100644
--- a/capplet/settings/mail-account-view.c
+++ b/capplet/settings/mail-account-view.c
@@ -640,7 +640,6 @@ void
mail_account_view_construct (MailAccountView *view)
{
int i;
- GtkWidget *advanced_identity;
view->scroll = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy ((GtkScrolledWindow *)view->scroll, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
@@ -668,7 +667,8 @@ mail_account_view_construct (MailAccountView *view)
em_account_editor_check (view->edit, mail_account_pages[0].path);
view->pages[0]->done = TRUE;
- gtk_widget_hide (em_account_editor_get_widget (view->edit, "identity_optional_frame"));
+ if (e_shell_get_express_mode (NULL))
+ gtk_widget_hide (em_account_editor_get_widget (view->edit, "identity_optional_frame"));
}
MailAccountView *