aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-config.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-02-25 09:51:53 +0800
committerChris Toshok <toshok@src.gnome.org>2002-02-25 09:51:53 +0800
commit1636711c5ac21100eacce672e04d9a96e09a64e1 (patch)
tree91fd9b24b2ea532dcaae80ed3de6cd57546eea82 /addressbook/gui/component/addressbook-config.c
parent77811d84a73acdde644fb1f3d9dbfae70b4a63ab (diff)
downloadgsoc2013-evolution-1636711c5ac21100eacce672e04d9a96e09a64e1.tar
gsoc2013-evolution-1636711c5ac21100eacce672e04d9a96e09a64e1.tar.gz
gsoc2013-evolution-1636711c5ac21100eacce672e04d9a96e09a64e1.tar.bz2
gsoc2013-evolution-1636711c5ac21100eacce672e04d9a96e09a64e1.tar.lz
gsoc2013-evolution-1636711c5ac21100eacce672e04d9a96e09a64e1.tar.xz
gsoc2013-evolution-1636711c5ac21100eacce672e04d9a96e09a64e1.tar.zst
gsoc2013-evolution-1636711c5ac21100eacce672e04d9a96e09a64e1.zip
make the right auth page start up open.
2002-02-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_source_dialog_set_source): make the right auth page start up open. * gui/component/addressbook-storage.c (addressbook_source_free): free the binddn. (addressbook_source_copy): copy the binddn; svn path=/trunk/; revision=15819
Diffstat (limited to 'addressbook/gui/component/addressbook-config.c')
-rw-r--r--addressbook/gui/component/addressbook-config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c
index 5061e6368b..d575d33db6 100644
--- a/addressbook/gui/component/addressbook-config.c
+++ b/addressbook/gui/component/addressbook-config.c
@@ -157,8 +157,10 @@ addressbook_source_dialog_set_source (AddressbookSourceDialog *dialog, Addressbo
g_free (string);
dialog->auth = source ? source->auth : ADDRESSBOOK_LDAP_AUTH_NONE;
- if (dialog->auth != ADDRESSBOOK_LDAP_AUTH_NONE)
+ if (dialog->auth != ADDRESSBOOK_LDAP_AUTH_NONE) {
gtk_option_menu_set_history (GTK_OPTION_MENU(dialog->auth_optionmenu), dialog->auth - 1);
+ gtk_notebook_set_page (GTK_NOTEBOOK(dialog->auth_notebook), dialog->auth - 1);
+ }
dialog->ldap_scope = source ? source->scope : ADDRESSBOOK_LDAP_SCOPE_ONELEVEL;
gtk_option_menu_set_history (GTK_OPTION_MENU(dialog->scope_optionmenu), dialog->ldap_scope);