[evolution-patches] Contacts (Addressbook) patch to fix the bug #54831



hi,

The crash was happening since we are showing/hiding view->scrolled
widget instead of view->display_contact widget. This patch just replaces
that. I have tested the fix and it works fine.

thanks,
ravi
? gui/widgets/scrolled
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1588
diff -u -r1.1588 ChangeLog
--- ChangeLog	21 Feb 2004 01:51:14 -0000	1.1588
+++ ChangeLog	25 Feb 2004 12:52:40 -0000
@@ -1,3 +1,8 @@
+2004-02-25 Ravi Kiran UVS <kravi novell com>
+
+	* gui/widgets/e-addressbook-view.c (eab_view_show_contact_preview):
+	this function has to show/hide the contact_display widget instead of the scrolled widget in the EABView object.
+	
 2004-02-20  Chris Toshok  <toshok ximian com>
 
 	* gui/contact-editor/e-contact-editor.c (phone_entry_changed):
Index: gui/widgets/e-addressbook-view.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-addressbook-view.c,v
retrieving revision 1.130
diff -u -r1.130 e-addressbook-view.c
--- gui/widgets/e-addressbook-view.c	11 Feb 2004 20:29:33 -0000	1.130
+++ gui/widgets/e-addressbook-view.c	25 Feb 2004 12:52:46 -0000
@@ -1734,9 +1734,9 @@
 	g_return_if_fail (view && E_IS_ADDRESSBOOK_VIEW (view));
 
 	if (show)
-		gtk_widget_show (view->scrolled);
+		gtk_widget_show (view->contact_display);
 	else
-		gtk_widget_hide (view->scrolled);
+		gtk_widget_hide (view->contact_display);
 }
 
 void


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