[evolution/express] disable identity frame only in express mode
- From: Michael Meeks <michael src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/express] disable identity frame only in express mode
- Date: Wed, 3 Mar 2010 08:44:09 +0000 (UTC)
commit 8aa20afb0f16702616d2e3b9419cc396abee5f2b
Author: Michael Meeks <michael meeks novell com>
Date: Wed Mar 3 08:43:48 2010 +0000
disable identity frame only in express mode
capplet/settings/mail-account-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/capplet/settings/mail-account-view.c b/capplet/settings/mail-account-view.c
index 7b4511e..01c290e 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]