Index: ./gui/widgets/e-addressbook-view.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-addressbook-view.c,v
retrieving revision 1.180
diff -u -r1.180 e-addressbook-view.c
--- ./gui/widgets/e-addressbook-view.c	22 Feb 2006 07:41:12 -0000	1.180
+++ ./gui/widgets/e-addressbook-view.c	25 May 2006 07:26:06 -0000
@@ -1892,6 +1892,16 @@
 #endif
 }
 
+/* callback function to handle removal of contacts for which a user doesnt have write permission  */
+static void before_deleted_cb (EBook *book,  EBookStatus status,  gpointer closure)
+{
+	if ( status != E_BOOK_ERROR_OK && status != E_BOOK_ERROR_CANCELLED) {
+		e_error_run (NULL, "addressbook:contact-delete-error", NULL);
+	}
+}
+
+
+
 void
 eab_view_delete_selection(EABView *view, gboolean is_delete)
 {
@@ -1930,10 +1940,10 @@
 		}
 
 		/* Remove the cards all at once. */
-		/* XXX no callback specified... ugh */
+		/*callback specified... to handle error */
 		e_book_async_remove_contacts (view->book,
 					      ids,
-					      NULL,
+					      before_deleted_cb,
 					      NULL);
 			
 		g_list_free (ids);
@@ -1942,10 +1952,10 @@
 		for (l=list;l;l=g_list_next(l)) {
 			contact = l->data;
 			/* Remove the card. */
-			/* XXX no callback specified... ugh */
+			/* callback specified... to handle error */
 			e_book_async_remove_contact (view->book,
 						     contact,
-						     NULL,
+						     before_deleted_cb,
 						     NULL);
 		}
 	}
Index: addressbook.error.xml
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/addressbook.error.xml,v
retrieving revision 1.5
diff -u -r1.5 addressbook.error.xml
--- addressbook.error.xml	1 Jan 2006 13:56:31 -0000	1.5
+++ addressbook.error.xml	25 May 2006 07:28:00 -0000
@@ -108,4 +108,10 @@
   <_secondary>Currently you can access only GroupWise System Address Book from Evolution. Please use some other GroupWise mail client once, to get your GroupWise Frequent Contacts and Groupwise Personal Contacts folders.</_secondary>
  </error>
 
+  <error id="contact-delete-error" type="warning">
+    <_primary>Error in Deleting Contact</_primary>
+    <_secondary>Permission Denied</_secondary>
+   </error>
+       
+
 </error-list>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.2073
diff -u -r1.2073 ChangeLog
--- ChangeLog	17 May 2006 11:37:30 -0000	1.2073
+++ ChangeLog	25 May 2006 07:31:39 -0000
@@ -1,3 +1,10 @@
+2006-05-25 Vandana Shenoy .B. <shvandana@novell.com>
+	Fix for gnome bug #260403
+	* gui/widgets/e-addressbook-view.c:
+	Added a call-back function
+	* addressbook.error.xml:
+	Added a new error message
+
 2006-05-17  Roozbeh Pournader  <roozbeh@farsiweb.info>
 
 	Fix for gnome bug #341931, farsiweb #562
