aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-storage.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-09-17 08:03:45 +0800
committerChris Toshok <toshok@src.gnome.org>2001-09-17 08:03:45 +0800
commit842aaaaa8c02daa7b0dc4651ee01a8e1d6c21910 (patch)
tree2839fe2d56096aab93de1e1ac7b5d5fbff5c2315 /addressbook/gui/component/addressbook-storage.h
parente4d7cc62b0ad767294c2fa8e9472332b86d7ad67 (diff)
downloadgsoc2013-evolution-842aaaaa8c02daa7b0dc4651ee01a8e1d6c21910.tar
gsoc2013-evolution-842aaaaa8c02daa7b0dc4651ee01a8e1d6c21910.tar.gz
gsoc2013-evolution-842aaaaa8c02daa7b0dc4651ee01a8e1d6c21910.tar.bz2
gsoc2013-evolution-842aaaaa8c02daa7b0dc4651ee01a8e1d6c21910.tar.lz
gsoc2013-evolution-842aaaaa8c02daa7b0dc4651ee01a8e1d6c21910.tar.xz
gsoc2013-evolution-842aaaaa8c02daa7b0dc4651ee01a8e1d6c21910.tar.zst
gsoc2013-evolution-842aaaaa8c02daa7b0dc4651ee01a8e1d6c21910.zip
reorder the LDAP scopes so that they match the order of the option menus
2001-09-16 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-storage.h: reorder the LDAP scopes so that they match the order of the option menus in the glade file. * gui/component/addressbook-config.c (auth_checkbutton_changed): new function, mostly there to house some #ifdef'ed out code. (option_menuitem_activated): new function, to keep track of changes to the ldap scope optionmenu. (addressbook_source_dialog_set_source): set the menu history as well as the dialog's copy of the scope. (addressbook_source_dialog_get_source): fill in the source's scope from the dialog's copy, and add more #if the_ui_gods_smile_on_me code. (add_activate_cb): new function, add an activate callback for the optionmenu's items. (addressbook_source_dialog): more #if the_ui_gods_smile_on_me code, always start the dialog on page 0, and hook up the scope optionmenu's items. svn path=/trunk/; revision=12865
Diffstat (limited to 'addressbook/gui/component/addressbook-storage.h')
-rw-r--r--addressbook/gui/component/addressbook-storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-storage.h b/addressbook/gui/component/addressbook-storage.h
index 8480f2c4de..d4a918fe50 100644
--- a/addressbook/gui/component/addressbook-storage.h
+++ b/addressbook/gui/component/addressbook-storage.h
@@ -40,9 +40,9 @@ typedef enum {
} AddressbookLDAPAuthType;
typedef enum {
- ADDRESSBOOK_LDAP_SCOPE_SUBTREE,
- ADDRESSBOOK_LDAP_SCOPE_BASE,
ADDRESSBOOK_LDAP_SCOPE_ONELEVEL,
+ ADDRESSBOOK_LDAP_SCOPE_BASE,
+ ADDRESSBOOK_LDAP_SCOPE_SUBTREE,
ADDRESSBOOK_LDAP_SCOPE_LAST
} AddressbookLDAPScopeType;