GNOME Bugzilla – Bug 304372
Gazpacho does not convert old style menus to GtkUIManager & c/o
Last modified: 2011-02-04 04:06:19 UTC
Distribution/Version: Ubuntu When opening my Glade UI (I'll attach it), I get the following error(s): File /usr/lib/python2.4/site-packages/gazpacho/application.py, line 590, in _open_cb self.open_project(path) File /usr/lib/python2.4/site-packages/gazpacho/application.py, line 460, in open_project prj = project.Project.open(path, self) File /usr/lib/python2.4/site-packages/gazpacho/project.py, line 357, in open ObjectGlue(prj)) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 58, in __init__ self.load_from_file(path) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 88, in load_from_file self._read_xml_tree(doc.documentElement) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 130, in _read_xml_tree widget = self._build_object(child_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 200, in _build_object self._fill_object_from_node(obj, xml_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 223, in _fill_object_from_node child = self._build_child_object(obj, child_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 263, in _build_child_object obj = self._build_object(child_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 200, in _build_object self._fill_object_from_node(obj, xml_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 223, in _fill_object_from_node child = self._build_child_object(obj, child_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 263, in _build_child_object obj = self._build_object(child_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 200, in _build_object self._fill_object_from_node(obj, xml_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 223, in _fill_object_from_node child = self._build_child_object(obj, child_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 263, in _build_child_object obj = self._build_object(child_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 191, in _build_object obj = func(xml_node) File /usr/lib/python2.4/site-packages/gazpacho/loader/widgettree.py, line 436, in _build_GtkButton obj.remove(obj.get_child()) TypeError: GtkContainer.remove() argument 1 must be gtk.Widget, not None
Created attachment 46497 [details] My Glade UI file
This is due to a GtkMenus being used as popups. We need to add code to convert them to GtkUIManager code.
Hi Johan, :) Am I using deprecated code in my Glade file? Should I be using GtkUIManager instead?
*** Bug 330268 has been marked as a duplicate of this bug. ***
Gazpacho development has been stalled and it has been unmaintained for a few years now. Maintainers don't have future development plan so i am closing the bugs as WONTFIX. Please feel free to reopen the bugs in future if anyone takes the responsibility for active development.