GNOME Bugzilla – Bug 532625
Wrong consecution of functions calls when opening a glade file
Last modified: 2008-05-18 22:15:18 UTC
It was (cannot remember exactly): anjuta - add_document projects_combo - set_active_iter on_glade_project_changed_cb glade - set_project // an error here, because the project has not been added glade - set_project // an error here, because the project has not been added glade - add_project glade - set_project glade - update_ui projects_combo - set_active_iter // duplicate, does nothing After the patch the sequence is: anjuta - add_document glade - add_project glade - set_project glade - update_ui projects_combo - set_active_iter on_glade_project_changed
Created attachment 110718 [details] [review] The patch for right sequence of the functions calls
2008-05-19 Johannes Schmid <jhs@gnome.org> Patch from Pavel Kostyuchenko: * plugins/glade/anjuta-design-document.h: * plugins/glade/plugin.c (update_current_project), (value_added_current_editor), (glade_update_ui), (on_document_destroy), (glade_plugin_add_project): #532625 – Wrong consecution of functions calls when opening a glade file Thanks!