diff options
author | Tristan Van Berkom <tvb@src.gnome.org> | 2006-03-20 15:09:29 +0000 |
---|---|---|
committer | Tristan Van Berkom <tvb@src.gnome.org> | 2006-03-20 15:09:29 +0000 |
commit | e489948514d5946e22be8195c0cd11b31a8bfe80 (patch) | |
tree | 44e851996de8f4f54c9765f6f2c8dfaf397b7285 /src/glade-project.c | |
parent | b4da9d952fec4849b5ab83f9c0a480185d2a8acc (diff) | |
download | glade-e489948514d5946e22be8195c0cd11b31a8bfe80.tar.gz |
Added a bit about anarchist children
* doc/children.sgml: Added a bit about anarchist children
* doc/widgetclasses.sgml: Removed the notion of get_anarchist_children()
* doc/gladeui-sections.txt: removed undefined symbols
* doc/tmpl/*: auto-updates templates.
* src/glade-gtk.c: Updated to use the new glade_widget_new_for_internal_child
API
* src/glade-widget-class.[ch], src/glade.h: Removed notion of anarchist children
* src/glade-widget.[ch]: Added "anarchist" property and "anarchist" argument
to glade_widget_new_for_internal_child() (only internal children can be
anarchists).
* src/glade-project-view.[ch]: Dramaticly reworked, now each project has its
own metadata struct where signal ids and project view state is stored,
project signals now are only disconnected at project close time.
The open treeview leafs and scrollbar positions are now saved/restored
when switching active projects.
* src/glade-project-window.c:
o Translated window title
o Fixed a bug where the loaded project title apears as
unsaved.
* src/glade-utils.c: Added comments.
* widgets/gtk+.xml.in: Removed mention of the get_anarchist_children func,
override the get_children func for GtkCombo to additionally return the
combo->list member (which is an anarchist child).
Also added a gtk_container_remove remove-function for GtkListItem since
it seemed to be empty and causing errors.
Diffstat (limited to 'src/glade-project.c')
-rw-r--r-- | src/glade-project.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/glade-project.c b/src/glade-project.c index 7055c041..5efd739c 100644 --- a/src/glade-project.c +++ b/src/glade-project.c @@ -1137,7 +1137,15 @@ glade_project_new_from_interface (GladeInterface *interface, const gchar *path) glade_project_add_object (project, NULL, widget->object); } - /* Set project status after every idle functions */ + + /* Reset project status after a low priority idle, + * which should happen after any backend idle functions + * in the load cycle which may modify the project state. + * + * Reset project status here too so that you get a clean + * slate after calling glade_project_open(). + */ + project->changed = FALSE; g_idle_add_full (G_PRIORITY_LOW, glade_project_loading_done_idle, project, |