[evolution-patches] patch to fix #57318 (address book)



Hi
Attached small patch fixes #57318. Just replacing
addressbook_component_peek_source_list call with
e_book_get_address_books as the former is no longer present 

Thanks,
Sivaiah
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1669
diff -u -r1.1669 ChangeLog
--- ChangeLog	23 Apr 2004 08:37:18 -0000	1.1669
+++ ChangeLog	23 Apr 2004 09:23:54 -0000
@@ -1,3 +1,10 @@
+2004-04-23  Sivaiah Nallagatla <snallagatla novell com>
+	* gui/widgets/eab-gui-util.c (eab_select_source) : 
+	use e_book_get_addressbooks instead of addressbook_component_peek_source_list
+	as the later does not exist any more
+	Fixes #57318
+
+
 2004-04-23  Chris Toshok  <toshok ximian com>
 
 	* gui/widgets/eab-gui-util.c (added_cb): this signal takes an
Index: gui/widgets/eab-gui-util.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/eab-gui-util.c,v
retrieving revision 1.17
diff -u -r1.17 eab-gui-util.c
--- gui/widgets/eab-gui-util.c	23 Apr 2004 08:37:18 -0000	1.17
+++ gui/widgets/eab-gui-util.c	23 Apr 2004 09:23:54 -0000
@@ -470,7 +470,8 @@
 	GtkWidget *scrolled_window;
 	gint response;
 
-	source_list = addressbook_component_peek_source_list (addressbook_component_peek ());
+	if (!e_book_get_addressbooks (&source_list, NULL))
+		return NULL;
 
 	dialog = gtk_dialog_new_with_buttons (title, parent,
 					      GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]