[evolution-patches] [addressbook] Patch for Bug #269655



Hi

The attached patch fixes the Bug #269655

thanks
Devashish
Index: addressbook/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1990
diff -u -p -r1.1990 ChangeLog
--- addressbook/ChangeLog	26 Aug 2005 05:39:33 -0000	1.1990
+++ addressbook/ChangeLog	8 Sep 2005 14:42:06 -0000
@@ -1,3 +1,9 @@
+2005-09-08  Devashish Sharma <sdevashish novell com>
+
+	* gui/widgets/e-addressbook-view.c (search_activated): Clears the
+	preview pane for contacts after search.
+	Fixes #269655.
+	
 2005-08-26  Devashish Sharma <sdevashish novell com>
 
 	* gui/widgets/e-addressbook-view.etspec: In ETableSpecification source
Index: addressbook/gui/widgets/e-addressbook-view.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-addressbook-view.c,v
retrieving revision 1.170
diff -u -p -r1.170 e-addressbook-view.c
--- addressbook/gui/widgets/e-addressbook-view.c	24 Aug 2005 03:06:51 -0000	1.170
+++ addressbook/gui/widgets/e-addressbook-view.c	8 Sep 2005 14:50:25 -0000
@@ -1509,6 +1509,9 @@ search_activated (ESearchBar *esb, EABVi
 	}
 
 	g_free (search_word);
+	v->displayed_contact = -1;
+	eab_contact_display_render (EAB_CONTACT_DISPLAY (v->contact_display), NULL,
+						    EAB_CONTACT_DISPLAY_RENDER_NORMAL);
 }
 
 static void


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