glade3 r1815 - in branches/gnome-2-22: . doc/tmpl gladeui src



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

Log:

	* NEWS, configure.ac: Rolling 3.4.5
	
	* gladeui/glade-editor-property.c: Avoid feedback loops when committing properties,
	  fixes bug 527896.

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



Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/NEWS
   branches/gnome-2-22/configure.ac
   branches/gnome-2-22/doc/tmpl/glade-utils.sgml
   branches/gnome-2-22/doc/tmpl/gladeui-unused.sgml
   branches/gnome-2-22/gladeui/glade-editor-property.c
   branches/gnome-2-22/gladeui/glade-property-class.c
   branches/gnome-2-22/src/glade-window.c

Modified: branches/gnome-2-22/NEWS
==============================================================================
--- branches/gnome-2-22/NEWS	(original)
+++ branches/gnome-2-22/NEWS	Mon May  5 16:38:43 2008
@@ -1,4 +1,9 @@
 ===========
+Glade 3.4.5
+===========
+	- Fixed annoying text editing bug (527896).
+
+===========
 Glade 3.4.4
 ===========
 	- Now first toplevel in project automatically shows up in

Modified: branches/gnome-2-22/configure.ac
==============================================================================
--- branches/gnome-2-22/configure.ac	(original)
+++ branches/gnome-2-22/configure.ac	Mon May  5 16:38:43 2008
@@ -4,7 +4,7 @@
 
 m4_define(glade_major_version, 3)
 m4_define(glade_minor_version, 4)
-m4_define(glade_micro_version, 4)
+m4_define(glade_micro_version, 5)
 m4_define(glade_version, glade_major_version.glade_minor_version.glade_micro_version)
 
 AC_INIT([glade3], [glade_version],
@@ -47,7 +47,7 @@
 # If any interfaces have been added since the last public release, then increment GLADE_AGE.
 # If any interfaces have been removed since the last public release, then set GLADE_AGE to 0.
 # Reference: http://www.gnu.org/software/libtool/manual.html#Versioning
-GLADE_REVISION=3
+GLADE_REVISION=4
 GLADE_CURRENT=7
 GLADE_AGE=0
 GLADE_CURRENT_MINUS_AGE=`expr $GLADE_CURRENT - $GLADE_AGE`

Modified: branches/gnome-2-22/doc/tmpl/glade-utils.sgml
==============================================================================
--- branches/gnome-2-22/doc/tmpl/glade-utils.sgml	(original)
+++ branches/gnome-2-22/doc/tmpl/glade-utils.sgml	Mon May  5 16:38:43 2008
@@ -36,15 +36,6 @@
 @GLADE_UI_ARE_YOU_SURE: 
 @GLADE_UI_YES_OR_NO: 
 
-<!-- ##### FUNCTION glade_util_widget_set_tooltip ##### -->
-<para>
-
-</para>
-
- widget: 
- str: 
-
-
 <!-- ##### FUNCTION glade_util_get_type_from_name ##### -->
 <para>
 

Modified: branches/gnome-2-22/doc/tmpl/gladeui-unused.sgml
==============================================================================
--- branches/gnome-2-22/doc/tmpl/gladeui-unused.sgml	(original)
+++ branches/gnome-2-22/doc/tmpl/gladeui-unused.sgml	Mon May  5 16:38:43 2008
@@ -91,3 +91,11 @@
 
 @window: 
 
+<!-- ##### FUNCTION glade_util_widget_set_tooltip ##### -->
+<para>
+
+</para>
+
+ widget: 
+ str: 
+

Modified: branches/gnome-2-22/gladeui/glade-editor-property.c
==============================================================================
--- branches/gnome-2-22/gladeui/glade-editor-property.c	(original)
+++ branches/gnome-2-22/gladeui/glade-editor-property.c	Mon May  5 16:38:43 2008
@@ -142,6 +142,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
@@ -153,6 +155,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: branches/gnome-2-22/gladeui/glade-property-class.c
==============================================================================
--- branches/gnome-2-22/gladeui/glade-property-class.c	(original)
+++ branches/gnome-2-22/gladeui/glade-property-class.c	Mon May  5 16:38:43 2008
@@ -1836,7 +1836,7 @@
 	g_return_val_if_fail (GLADE_IS_PROPERTY_CLASS (klass), -1);
 	
 	/* GLib does not know how to compare a boxed real value */
-	if (G_PARAM_SPEC_BOXED (klass->pspec))
+	if (G_VALUE_HOLDS_BOXED (value1))
 	{
 		gchar *val1, *val2;
 		

Modified: branches/gnome-2-22/src/glade-window.c
==============================================================================
--- branches/gnome-2-22/src/glade-window.c	(original)
+++ branches/gnome-2-22/src/glade-window.c	Mon May  5 16:38:43 2008
@@ -2111,7 +2111,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]