After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 532625 - Wrong consecution of functions calls when opening a glade file
Wrong consecution of functions calls when opening a glade file
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: glade
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-11 14:40 UTC by Pavel Kostyuchenko
Modified: 2008-05-18 22:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The patch for right sequence of the functions calls (3.67 KB, patch)
2008-05-11 14:44 UTC, Pavel Kostyuchenko
committed Details | Review

Description Pavel Kostyuchenko 2008-05-11 14:40:40 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
Comment 1 Pavel Kostyuchenko 2008-05-11 14:44:41 UTC
Created attachment 110718 [details] [review]
The patch for right sequence of the functions calls
Comment 2 Johannes Schmid 2008-05-18 22:15:18 UTC
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!