GNOME Bugzilla – Bug 572207
Migrate from Glade to GtkBuilder
Last modified: 2009-07-13 02:26:40 UTC
Glade is the past. GtkBuilder is the future. I just did a migration on a very simple project and ran in to unexpected bugs, so this is not going to be entirely trivial, but one hopes.
Set up a branch for this work: http://git.gnome.org/cgit/accerciser/log/?h=gtkbuilder
Migrated the development branch. I am sure this will introduce a lot of bugs, so it's good we did this early in the cycle.
I've reopened this bug because seems that anjuta still uses libglade libraries accerciser.spec.in:Requires: pygtk2-libglade >= 2.8 macaroon/pyreqs.py:modules = ['pygtk', 'gtk', 'gtk.glade', 'gtk.gdk', 'wnck'] pyreqs.py:modules = ['pygtk', 'gtk', 'gtk.glade', 'gtk.gdk', 'wnck', 'pyatspi'] src/lib/accerciser/accerciser.py:import gtk.glade src/lib/accerciser/accerciser.py:GLADE_FILENAME = os.path.join(sys.prefix, 'share', 'accerciser', 'glade', src/lib/accerciser/accerciser.py: 'accerciser.glade') src/lib/accerciser/accerciser.py: GLADE_FILENAME = os.path.join(os.getcwd(), 'accerciser.glade') src/lib/accerciser/i18n.py.in:import sys, locale, gettext, os.path, gtk.glade src/lib/accerciser/i18n.py.in: gtk.glade.bindtextdomain(domain, locale_dir) src/lib/accerciser/i18n.py.in: gtk.glade.textdomain(domain) See http://www.gnome.org/~fpeters/299.html for more info
Thanks Javier. Changes made to trunk. I'll make a release shortly.