Re: [evolution-patches] patch for #73712 (exchange connector)
- From: Sushma Rai <rsushma novell com>
- To: Sivaiah Nallagatla <snallagatla novell com>
- Cc: evolution-patches ximian com
- Subject: Re: [evolution-patches] patch for #73712 (exchange connector)
- Date: Wed, 16 Mar 2005 10:21:04 +0530
Looks fine. Please commit.
-Sushma.
Sivaiah Nallagatla wrote:
------------------------------------------------------------------------
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.301
diff -u -r1.301 ChangeLog
--- ChangeLog 15 Mar 2005 06:17:00 -0000 1.301
+++ ChangeLog 15 Mar 2005 13:14:06 -0000
@@ -1,3 +1,14 @@
+2005-03-15 Sivaiah Nallagatla <snallagatla novell com>
+
+ * addressbook/e-book-backend-exchange.c
+ (e_book_backend_exchange_create_contact)
+ (e_book_backend_exchange_modify_contact)
+ (e_book_backend_exchange_remove_contacts) :
+ Make sure new or modified objects are added
+ to cache and deleted ones are actually deleted
+ from cache.
+ Fixes #73712
+
2005-03-15 Sarfraaz Ahmed <asarfraaz novell com>
* calendar/e-cal-backend-exchange.c (open_calendar): Return proper
Index: addressbook/e-book-backend-exchange.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/addressbook/e-book-backend-exchange.c,v
retrieving revision 1.25
diff -u -r1.25 e-book-backend-exchange.c
--- addressbook/e-book-backend-exchange.c 14 Mar 2005 13:16:00 -0000 1.25
+++ addressbook/e-book-backend-exchange.c 15 Mar 2005 13:14:07 -0000
@@ -1313,6 +1313,7 @@
if (E2K_HTTP_STATUS_IS_SUCCESSFUL (status)) {
e_book_backend_summary_add_contact (bepriv->summary,
*contact);
+ e_book_backend_cache_add_contact (bepriv->cache, *contact);
return GNOME_Evolution_Addressbook_Success;
} else {
g_object_unref (*contact);
@@ -1421,6 +1422,9 @@
uri);
e_book_backend_summary_add_contact (bepriv->summary,
*contact);
+ e_book_backend_cache_remove_contact (bepriv->cache, uri);
+ e_book_backend_cache_add_contact (bepriv->cache, *contact);
+
return GNOME_Evolution_Addressbook_Success;
} else {
g_object_unref (*contact);
@@ -1465,6 +1469,7 @@
if (E2K_HTTP_STATUS_IS_SUCCESSFUL (status)) {
e_book_backend_summary_remove_contact (
bepriv->summary, uri);
+ e_book_backend_cache_remove_contact (bepriv->cache, uri);
*removed_ids = g_list_append (
*removed_ids, g_strdup (uri));
} else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]