diff options
author | Not Zed <NotZed@Ximian.com> | 2004-03-18 21:21:07 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-03-18 21:21:07 +0800 |
commit | c54e95912887300be6d2145023c5287114c84ac3 (patch) | |
tree | 5b7ffc2a53efe94b8d5be29f4931abe20c5610ad | |
parent | 50822889bc546a1be8ca4f568b848cec79c99237 (diff) | |
download | gsoc2013-evolution-c54e95912887300be6d2145023c5287114c84ac3.tar gsoc2013-evolution-c54e95912887300be6d2145023c5287114c84ac3.tar.gz gsoc2013-evolution-c54e95912887300be6d2145023c5287114c84ac3.tar.bz2 gsoc2013-evolution-c54e95912887300be6d2145023c5287114c84ac3.tar.lz gsoc2013-evolution-c54e95912887300be6d2145023c5287114c84ac3.tar.xz gsoc2013-evolution-c54e95912887300be6d2145023c5287114c84ac3.tar.zst gsoc2013-evolution-c54e95912887300be6d2145023c5287114c84ac3.zip |
Added options for transport_url and source_url permissions.
2004-03-18 Not Zed <NotZed@Ximian.com>
* e-account.c: Added options for transport_url and source_url
permissions.
svn path=/trunk/; revision=25115
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-account.c | 16 |
2 files changed, 12 insertions, 9 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index c7a8a3fcb7..e5b8e4b9a1 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,5 +1,10 @@ 2004-03-18 Not Zed <NotZed@Ximian.com> + * e-account.c: Added options for transport_url and source_url + permissions. + +2004-03-18 Not Zed <NotZed@Ximian.com> + * e-account.c (e_account_writable, e_account_writable_option): added interface to find out if various fields or server options are writable. to work around gconf limitations. diff --git a/e-util/e-account.c b/e-util/e-account.c index d14761a029..da16677913 100644 --- a/e-util/e-account.c +++ b/e-util/e-account.c @@ -606,8 +606,8 @@ enum { EAP_LOCK_AUTOCHECK, EAP_LOCK_DEFAULT_FOLDERS, EAP_LOCK_SAVE_PASSWD, - EAP_LOCK_SOURCE_URL, - EAP_LOCK_TRANSPORT_URL, + EAP_LOCK_SOURCE, + EAP_LOCK_TRANSPORT, }; static struct _system_info { @@ -618,14 +618,14 @@ static struct _system_info { { "imap_namespace", 1<<EAP_IMAP_NAMESPACE }, { "filter_inbox", 1<<EAP_FILTER_INBOX }, { "filter_junk", 1<<EAP_FILTER_JUNK }, - { "force_ssl", 1<<EAP_FORCE_SSL }, + { "ssl", 1<<EAP_FORCE_SSL }, { "signature", 1<<EAP_LOCK_SIGNATURE }, { "authtype", 1<<EAP_LOCK_AUTH }, { "autocheck", 1<<EAP_LOCK_AUTOCHECK }, { "default_folders", 1<<EAP_LOCK_DEFAULT_FOLDERS }, { "save_passwd" , 1<<EAP_LOCK_SAVE_PASSWD }, -/* { "source_url", 1<<EAP_LOCK_SOURCE_URL }, - { "transport_url", 1<<EAP_LOCK_TRANSPORT_URL },*/ + { "source", 1<<EAP_LOCK_SOURCE }, + { "transport", 1<<EAP_LOCK_TRANSPORT }, }; static struct { @@ -638,13 +638,13 @@ static struct { { /* E_ACCOUNT_ID_DEF_SIGNATURE */ 1<<EAP_LOCK_SIGNATURE }, { /* E_ACCOUNT_ID_AUTO_SIGNATURE */ 1<<EAP_LOCK_SIGNATURE }, - { /* E_ACCOUNT_SOURCE_URL */ }, + { /* E_ACCOUNT_SOURCE_URL */ 1<<EAP_LOCK_SOURCE }, { /* E_ACCOUNT_SOURCE_KEEP_ON_SERVER */ }, { /* E_ACCOUNT_SOURCE_AUTO_CHECK */ 1<<EAP_LOCK_AUTOCHECK }, { /* E_ACCOUNT_SOURCE_AUTO_CHECK_TIME */ 1<<EAP_LOCK_AUTOCHECK }, { /* E_ACCOUNT_SOURCE_SAVE_PASSWD */ 1<<EAP_LOCK_SAVE_PASSWD }, - { /* E_ACCOUNT_TRANSPORT_URL */ }, + { /* E_ACCOUNT_TRANSPORT_URL */ 1<<EAP_LOCK_TRANSPORT }, { /* E_ACCOUNT_TRANSPORT_SAVE_PASSWD */ 1<<EAP_LOCK_SAVE_PASSWD }, { /* E_ACCOUNT_DRAFTS_FOLDER_URI */ 1<<EAP_LOCK_DEFAULT_FOLDERS }, @@ -710,8 +710,6 @@ ea_setting_notify(GConfClient *gconf, guint cnxn_id, GConfEntry *entry, void *cr else ea_perms &= ~info->perm; } - - printf("checking key '%s', new perms '%08x'\n", tkey+1, ea_perms); } static void |