glade3 r1817 - in trunk: . gladeui src



Author: tvb
Date: Mon May  5 16:42:09 2008
New Revision: 1817
URL: http://svn.gnome.org/viewvc/glade3?rev=1817&view=rev

Log:
	
	* gladeui/glade-editor-property.c: Avoid feedback loops when committing properties,
	  fixes bug 527896.

	* src/glade-window.c: Updated copyright dates.



Modified:
   trunk/ChangeLog
   trunk/gladeui/glade-editor-property.c
   trunk/src/glade-window.c

Modified: trunk/gladeui/glade-editor-property.c
==============================================================================
--- trunk/gladeui/glade-editor-property.c	(original)
+++ trunk/gladeui/glade-editor-property.c	Mon May  5 16:42:09 2008
@@ -93,6 +93,8 @@
 {
 	g_return_if_fail (GLADE_IS_EDITOR_PROPERTY (eprop));
 
+	g_signal_handler_block (G_OBJECT (eprop->property), eprop->changed_id);
+
 	if (eprop->use_command == FALSE)
 		glade_property_set_value (eprop->property, value);
 	else
@@ -104,6 +106,8 @@
 	if (glade_property_class_compare (eprop->property->klass,
 					  eprop->property->value, value) != 0)
 		GLADE_EDITOR_PROPERTY_GET_CLASS (eprop)->load (eprop, eprop->property);
+
+	g_signal_handler_unblock (G_OBJECT (eprop->property), eprop->changed_id);
 }
 
 

Modified: trunk/src/glade-window.c
==============================================================================
--- trunk/src/glade-window.c	(original)
+++ trunk/src/glade-window.c	Mon May  5 16:42:09 2008
@@ -2075,7 +2075,7 @@
 	static const gchar copyright[] =
 		"Copyright \xc2\xa9 2001-2006 Ximian, Inc.\n"
 		"Copyright \xc2\xa9 2001-2006 Joaquin Cuenca Abela, Paolo Borelli, et al.\n"
-		"Copyright \xc2\xa9 2001-2006 Tristan Van Berkom, Juan Pablo Ugarte, et al.";
+		"Copyright \xc2\xa9 2001-2008 Tristan Van Berkom, Juan Pablo Ugarte, et al.";
 	
 	gtk_show_about_dialog (GTK_WINDOW (window),
 			       "name", g_get_application_name (),



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