[evolution-patches] Contacts patch to fix the bug #54884



Hi,
this is the patch to fix the bug #54884. The preview pane settings are
updated on the bonobo ui component but they are not updated on the view
object. When the call comes here, the preview pane is alread visible.
so, the fix takes care of hiding it if it should not be visible.

thanks,
ravi
? preview-pane.patch
? gui/widgets/scrolled
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1591
diff -u -r1.1591 ChangeLog
--- ChangeLog	25 Feb 2004 01:36:31 -0000	1.1591
+++ ChangeLog	26 Feb 2004 05:32:39 -0000
@@ -1,3 +1,7 @@
+2004-02-26  Ravi Kiran UVS  <kravi novell com>
+	* gui/widgets/e-addressbook-view.c (set_view_preview):
+	Preview pane settings have to be applied on the view object.
+	
 2004-02-24  Hans petter Jansson  <hpj ximian com>
 
 	* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
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	26 Feb 2004 05:32:40 -0000
@@ -535,7 +535,9 @@
 				      "/commands/ContactsViewPreview",
 				      "state",
 				      state ? "1" : "0", NULL);
-	
+	if(!state)
+		gtk_widget_hide(view->contact_display);
+
 	g_object_unref (gconf_client);
 }
 


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