aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-03-03 16:43:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-14 09:52:51 +0800
commit207ce38c528b3fd4f9f7fbca5a81470bfacdbc28 (patch)
tree768ba4f973280b08e192aa718e515aa9b84cc58f
parentd9be66b527d0d666e2169d11ece578e901101733 (diff)
downloadgsoc2013-evolution-207ce38c528b3fd4f9f7fbca5a81470bfacdbc28.tar.gz
gsoc2013-evolution-207ce38c528b3fd4f9f7fbca5a81470bfacdbc28.tar.zst
gsoc2013-evolution-207ce38c528b3fd4f9f7fbca5a81470bfacdbc28.zip
disable identity frame only in express mode
-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 *