aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.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/mail-config.c
parentdfade5600534026595bd1f9819077e4d401cbf63 (diff)
downloadgsoc2013-evolution-50822889bc546a1be8ca4f568b848cec79c99237.tar.gz
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/mail-config.c')
-rw-r--r--mail/mail-config.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index ed578b4b58..99419f7250 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -1524,48 +1524,3 @@ mail_config_signature_set_html (MailConfigSignature *sig, gboolean html)
mail_config_signature_emit_event (MAIL_CONFIG_SIG_EVENT_HTML_CHANGED, sig);
}
}
-
-static const struct _mc_perm {
- const char *key;
- guint32 perm;
-} mc_perms[] = {
- { "composer/charset", },
- { "composer/send_html", },
- { "composer/magic_smileys", },
- { "composer/inline_spelling", },
- { "format/forward_style", },
- { "format/reply_style", },
- { "trash/empty_on_exit", },
- { "trash/empty_on_exit_days", },
- { "display/charset" },
- { "display/headers" },
- { "display/labels" },
- { "display/fonts/monospace" },
- { "display/fonts/variable" },
- { "display/load_http_images" },
-};
-
-struct _mc_item {
-} mc_items[MAIL_CONFIG_ITEM_LAST] = {
- { /* MAIL_CONFIG_ACCOUNTS */ },
- { /* MAIL_CONFIG_COMPOSER_CHARSET */ },
- { /* MAIL_CONFIG_COMPOSER_SEND_HTML */ },
- { /* MAIL_CONFIG_COMPOSER_MAGIC_SMILEYS */ },
- { /* MAIL_CONFIG_COMPOSER_SPELL_CHECK */ },
- { /* MAIL_CONFIG_FORMAT_FORWARD_STYLE */ },
- { /* MAIL_CONFIG_FORMAT_REPLY_STYLE */ },
- { /* MAIL_CONFIG_TRASH_EMPTY_ON_EXIT */ },
- { /* MAIL_CONFIG_TRASH_EMPTY_ON_EXIT_DAYS */ },
- { /* MAIL_CONFIG_DISPLAY_CHARSET */ },
- { /* MAIL_CONFIG_DISPLAY_HEADERS */ },
- { /* MAIL_CONFIG_DISPLAY_LABELS */ },
- { /* MAIL_CONFIG_DISPLAY_FONT_MONO */ },
- { /* MAIL_CONFIG_DISPLAY_FONT_PROP */ },
- { /* MAIL_CONFIG_DISPLAY_LOAD_HTTP */ },
-};
-
-gboolean mail_config_writable(mail_config_item_t item)
-{
-
-}
-