aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-prefs.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-03-18 21:20:41 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-03-18 21:20:41 +0800
commit50822889bc546a1be8ca4f568b848cec79c99237 (patch)
tree6e8f20f96d5589cab8fd33992d874fa905b03722 /mail/em-account-prefs.c
parentdfade5600534026595bd1f9819077e4d401cbf63 (diff)
downloadgsoc2013-evolution-50822889bc546a1be8ca4f568b848cec79c99237.tar
gsoc2013-evolution-50822889bc546a1be8ca4f568b848cec79c99237.tar.gz
gsoc2013-evolution-50822889bc546a1be8ca4f568b848cec79c99237.tar.bz2
gsoc2013-evolution-50822889bc546a1be8ca4f568b848cec79c99237.tar.lz
gsoc2013-evolution-50822889bc546a1be8ca4f568b848cec79c99237.tar.xz
gsoc2013-evolution-50822889bc546a1be8ca4f568b848cec79c99237.tar.zst
gsoc2013-evolution-50822889bc546a1be8ca4f568b848cec79c99237.zip
save the source and transport vbox's to enable/disable the whole lot
2004-03-18 Not Zed <NotZed@Ximian.com> * mail-account-gui.c (mail_account_gui_new): save the source and transport vbox's to enable/disable the whole lot easier. (mail_account_gui_setup): enable above based on perms. (mail_account_gui_build_extra_conf): also disable extra page, as above. * em-account-prefs.c (account_cursor_change): disable the whole account editor if accounts are ro. svn path=/trunk/; revision=25114
Diffstat (limited to 'mail/em-account-prefs.c')
-rw-r--r--mail/em-account-prefs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index ee0337562e..9026ce53fe 100644
--- a/mail/em-account-prefs.c
+++ b/mail/em-account-prefs.c
@@ -402,8 +402,9 @@ account_cursor_change (GtkTreeSelection *selection, EMAccountPrefs *prefs)
} else {
gtk_widget_grab_focus (GTK_WIDGET (prefs->mail_add));
}
+ gtk_widget_set_sensitive (GTK_WIDGET (prefs), TRUE);
} else {
- gtk_widget_set_sensitive (GTK_WIDGET (prefs->mail_add), FALSE);
+ gtk_widget_set_sensitive (GTK_WIDGET (prefs), FALSE);
}
gtk_widget_set_sensitive (GTK_WIDGET (prefs->mail_edit), state);