[evolution-patches] EDestination Missing Routine (73226)



This was supposed to have gone in with the meeting autocompletion fixes
last week.  I'll ask for release team approval once hpj or siva looks at
it.

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.
? e-dest.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/ChangeLog,v
retrieving revision 1.255
diff -u -r1.255 ChangeLog
--- ChangeLog	28 Feb 2005 19:57:41 -0000	1.255
+++ ChangeLog	2 Mar 2005 17:52:07 -0000
@@ -1,3 +1,10 @@
+2005-03-02  JP Rosevear  <jpr novell com>
+
+	* libebook/e-destination.c (e_destination_list_get_dests): get a
+	list of destination addresses
+
+	* libebook/e-destination.h: add proto
+
 2005-02-28  Sivaiah Nallagatla  <snallagatla novell com>
 
 	* backends/groupwise/e-bbok-backend-groupwise.c 
Index: libebook/e-destination.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-destination.c,v
retrieving revision 1.10
diff -u -r1.10 e-destination.c
--- libebook/e-destination.c	2 Mar 2005 02:58:13 -0000	1.10
+++ libebook/e-destination.c	2 Mar 2005 17:52:07 -0000
@@ -812,6 +812,17 @@
 	return dest->priv->show_addresses;
 }
 
+const GList *
+e_destination_list_get_dests (const EDestination *dest)
+{
+	g_return_val_if_fail (dest && E_IS_DESTINATION (dest), NULL);
+	
+	if (!e_destination_is_evolution_list (dest))
+		return NULL;
+
+	return dest->priv->list_dests;
+}
+
 gboolean
 e_destination_get_html_mail_pref (const EDestination *dest)
 {
Index: libebook/e-destination.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-destination.h,v
retrieving revision 1.4
diff -u -r1.4 e-destination.h
--- libebook/e-destination.h	11 Dec 2004 17:36:18 -0000	1.4
+++ libebook/e-destination.h	2 Mar 2005 17:52:07 -0000
@@ -92,6 +92,7 @@
 
 gboolean       e_destination_is_evolution_list   (const EDestination *);
 gboolean       e_destination_list_show_addresses (const EDestination *);
+const GList   *e_destination_list_get_dests      (const EDestination *);
 
 /* If true, they want HTML mail. */
 void           e_destination_set_html_mail_pref (EDestination *dest, gboolean flag);


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