aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-config.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-06-22 05:49:01 +0800
committerChris Toshok <toshok@src.gnome.org>2004-06-22 05:49:01 +0800
commit3f4b0efb112cdc935ababe0647b0a4906a1d4748 (patch)
tree57b755876c9df1d0f5b6114b6bdf90418275afaf /addressbook/gui/component/addressbook-config.h
parent176a9fed3f97941eebbb56e6cd2a8d977e084ad4 (diff)
downloadgsoc2013-evolution-3f4b0efb112cdc935ababe0647b0a4906a1d4748.tar.gz
gsoc2013-evolution-3f4b0efb112cdc935ababe0647b0a4906a1d4748.tar.zst
gsoc2013-evolution-3f4b0efb112cdc935ababe0647b0a4906a1d4748.zip
remove the auth-entry-notebook in the edit dialog, and rename the auth
2004-06-21 Chris Toshok <toshok@ximian.com> * gui/component/ldap-config.glade: remove the auth-entry-notebook in the edit dialog, and rename the auth entry to... auth-entry. * gui/component/addressbook-config.c (source_to_dialog_new): nuke - it's identical to source_to_dialog. (dialog_to_source): we only have one auth entry now. fill it in properly. (source_to_dialog): fill in the auth entry properly based on the auth type, and remove auth_entry_notebook references. (auth_optionmenu_activated): remove auth_entry_notebook references. (setup_general_tab): same, and use auth-entry instead of email-entry/dn-entry. (general_tab_check): use auth_principle instead of email/binddn. (add_folder_modify): same. (addressbook_add_server_dialog): put setup_connecting_tab inside the ifdef HAVE_LDAP, and call source_to_dialog instead of source_to_dialog_new. (addressbook_config_edit_source): always call setup_general_tab. * gui/component/addressbook-config.h (AddressbookLDAPScopeType): reorder to match order in option menu (we should really remove BASE altogether.. it's useless for searching.) * gui/component/addressbook-view.c (update_command_state): macroize this, annoying seeing the same 4 lines repeated 15 times. svn path=/trunk/; revision=26445
Diffstat (limited to 'addressbook/gui/component/addressbook-config.h')
-rw-r--r--addressbook/gui/component/addressbook-config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-config.h b/addressbook/gui/component/addressbook-config.h
index b5800bc123..9f8259ce49 100644
--- a/addressbook/gui/component/addressbook-config.h
+++ b/addressbook/gui/component/addressbook-config.h
@@ -34,9 +34,9 @@ typedef enum {
} AddressbookLDAPAuthType;
typedef enum {
+ ADDRESSBOOK_LDAP_SCOPE_BASE,
ADDRESSBOOK_LDAP_SCOPE_ONELEVEL,
ADDRESSBOOK_LDAP_SCOPE_SUBTREE,
- ADDRESSBOOK_LDAP_SCOPE_BASE,
ADDRESSBOOK_LDAP_SCOPE_LAST
} AddressbookLDAPScopeType;