no more source->type.

2002-04-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (book_open_cb): no more
	source->type.

svn path=/trunk/; revision=16530
This commit is contained in:
Chris Toshok
2002-04-19 02:01:05 +00:00
committed by Chris Toshok
parent 500a46c6b7
commit ec1f4cc64f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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):

View File

@ -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),