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 626225 - Migrate from PyGTK to PyGObject introspection-based bindings
Migrate from PyGTK to PyGObject introspection-based bindings
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks: 626218 636726 640392
 
 
Reported: 2010-08-06 16:25 UTC by André Klapper
Modified: 2011-03-03 04:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32


Attachments
Migrate from PyGTK to PyGObject (6.51 KB, patch)
2011-02-26 07:17 UTC, Craig Keogh
none Details | Review
Migrate docs from PyGTK to PyGObject (1.98 KB, patch)
2011-02-26 07:18 UTC, Craig Keogh
none Details | Review

Description André Klapper 2010-08-06 16:25:42 UTC
Grep'ing for pygtk-2.0 it seems that this module uses the stable bindings provided by PyGTK. 

As it is unlikely that anybody will continue maintaining these stable bindings, applications using PyGTK should be ported to using the dynamic Python bindings provided by PyGObject (now that PyGI has been merged into PyGObject).
The feedback on migration provided by application maintainers will also help PyGObject to improve its dynamic bindings.

Please see http://live.gnome.org/GnomeGoals/PythonIntrospectionPorting for more information and guidelines.

For help there is a mailing list at http://www.daa.com.au/mailman/listinfo/pygtk . For getting involved in the development of pygobject there is a mailing list at http://mail.gnome.org/mailman/listinfo/python-hackers-list . There is also the #python IRC channel on irc.gimp.net.

./glade3/configure.ac:  PKG_CHECK_MODULES(PYGTK, [pygtk-2.0 >= 2.10.0], [have_python=yes],[have_python=no])
Comment 1 André Klapper 2011-01-17 21:03:52 UTC
[Removing 3.0 target as this is not a hard blocker, but a nice to have]
Comment 2 Craig Keogh 2011-02-26 07:17:32 UTC
Created attachment 181966 [details] [review]
Migrate from PyGTK to PyGObject


Tested with pythonplugin.py and works fine. This patch doesn't check for the situation where pygobject is installed but no Gtk in the gir repository. If that is required, I suggest create a new bug.
Comment 3 Craig Keogh 2011-02-26 07:18:09 UTC
Created attachment 181967 [details] [review]
Migrate docs from PyGTK to PyGObject
Comment 4 Juan Pablo Ugarte 2011-03-03 04:17:13 UTC
Thanks for the patch, its applied in master.

BTW: the is a weird syntax error in pygobject if you run it with python 2.5.5
https://bugzilla.gnome.org/show_bug.cgi?id=643746