aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index de94b9208c..c6ca023219 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2002-04-18 Chris Toshok <toshok@ximian.com>
+ * gui/component/addressbook.c (book_open_cb): no more
+ source->type.
+
+2002-04-18 Chris Toshok <toshok@ximian.com>
+
* gui/component/ldap-config.c (addressbook_dialog_get_source):
fill in source->ssl.
(addressbook_source_dialog_set_source): set up auth/scope/ssl
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 99ba3b9521..2670451038 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -549,7 +549,7 @@ book_open_cb (EBook *book, EBookStatus status, gpointer closure)
gtk_widget_show (label);
#ifndef HAVE_LDAP
- if (source && source->type == ADDRESSBOOK_SOURCE_LDAP) {
+ if (source) {
GtkWidget *href;
href = gnome_href_new ("http://www.openldap.org/", "OpenLDAP at http://www.openldap.org/");
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (warning_dialog)->vbox),