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 606603 - Use GtkBuilder instead of libglade
Use GtkBuilder instead of libglade
Status: RESOLVED OBSOLETE
Product: gnome-python-desktop
Classification: Deprecated
Component: evolution
2.29.x
Other All
: Normal normal
: ---
Assigned To: John Stowers
Python bindings maintainers
Depends on:
Blocks: 572883
 
 
Reported: 2010-01-11 03:43 UTC by Javier Jardón (IRC: jjardon)
Modified: 2011-11-22 19:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Javier Jardón (IRC: jjardon) 2010-01-11 03:43:52 UTC
libglade has been deprecated in favor of GtkBuilder.

See http://library.gnome.org/devel/gtk/stable/gtk-migrating-GtkBuilder.html for
migration instructions.

Also see http://live.gnome.org/GnomeGoals/RemoveLibGladeUseGtkBuilder
Comment 1 Javier Jardón (IRC: jjardon) 2010-01-11 03:46:50 UTC
$ git grep glade
Makefile.am:  examples/gnomeprint/example_10.glade \
examples/evolution/Makefile.am: evolution.glade

examples/evolution/evo-test.py:import gtk.glade
examples/evolution/evo-test.py:        path = os.path.join(__file__, "..", "evolution.glade")
examples/evolution/evo-test.py:        self.xml = gtk.glade.XML(path, "GUI")
examples/evolution/evo-test.py:        self.dialogxml = gtk.glade.XML(path, "AddCalComponentDialog")
examples/evolution/evolution.glade:<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">

examples/gnomeprint/example_10.glade:<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
examples/gnomeprint/example_10.py:import gtk.glade as glade
examples/gnomeprint/example_10.py:    gui = glade.XML("example_10.glade")
Comment 2 Gian Mario Tagliaretti 2010-01-11 09:05:42 UTC
Are you saying that some "examples" need to be removed or changed because of library deprecation? This is not code for production, these are examples.

Please someone stop this nonsense.
Comment 3 André Klapper 2010-01-11 10:28:02 UTC
Wondering: Is it said in these examples that libglade should not be used anymore?
Comment 4 Gian Mario Tagliaretti 2010-01-11 10:35:59 UTC
(In reply to comment #3)
> Wondering: Is it said in these examples that libglade should not be used
> anymore?

Adding a comment that libglade is deprecated is something different than switch those examples (in gnomeprint bindings) to GtkBuilder. Anyway is up to Gustavo.
Comment 5 Javier Jardón (IRC: jjardon) 2011-11-22 19:12:55 UTC
Closed as obsolete as gnome-python-desktop is not needed anymore as we used pygobject and introspection now