[glade3] * gladeui/glade-project.c: Applied Johannes Schmid's changes in bug 623879.



commit 6a7a0a4fed5ef357d90db1a0cd3c64f76619194b
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sun Aug 29 14:16:49 2010 +0900

    	* gladeui/glade-project.c: Applied Johannes Schmid's changes in bug 623879.

 ChangeLog               |    6 +++++-
 gladeui/glade-project.c |    2 ++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d3daaf5..c9f33dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2010-08-26  Tristan Van Berkom <tvb gnome org>
+2010-08-29  Tristan Van Berkom <tristanvb openismus com>
+
+	* gladeui/glade-project.c: Applied Johannes Schmid's changes in bug 623879.
+
+2010-08-26  Tristan Van Berkom <tristanvb openismus com>
 
 	* plugins/gtk+/glade-gtk.c: Fixed glade_gtk_frame_add_child() to remove any previous
 	  placeholders.
diff --git a/gladeui/glade-project.c b/gladeui/glade-project.c
index 970b159..a2a3cfa 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -2726,6 +2726,7 @@ glade_project_add_object (GladeProject *project,
 		path = gtk_tree_model_get_path (GTK_TREE_MODEL (project), &iter);
 	
 		gtk_tree_model_row_inserted (GTK_TREE_MODEL (project), path, &iter);
+		project->priv->stamp++;
 	}
 
 	/* NOTE: Sensitive ordering here, we need to recurse after updating
@@ -2815,6 +2816,7 @@ glade_project_remove_object (GladeProject *project, GObject *object)
 		                                iter);
 		gtk_tree_model_row_deleted (GTK_TREE_MODEL (project),
 		                            path);
+		project->priv->stamp++;
 		g_object_unref (object);
 		glade_project_release_widget_name (project, gwidget,
 						   glade_widget_get_name (gwidget));



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