Red Hat Bugzilla – Bug 102052
please consider updating to 1.99.17
Last modified: 2007-04-18 12:56:46 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030804
Description of problem:
I see that severn includes PyGTK 1.99.16. 1.99.17 has since been released with
an important new feature: custom widget support. GLADE can include widgets in a
project that it doesn't directly support (e.g., ZVT or VTE), by calling a
user-specified widget creation routine.
A patch in GNOME bug 113271 adds a set_custom_widget_callbacks() function to the
gtk.glade module. This is now available in PyGTK 1.99.17, which is supposed to
be the final release before 2.0.
I have been happily using 1.99.17 since its release.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
In a terminal with DISPLAY set, issue the following statements in a Python session:
>>> import gtk.glade
>>> gtk.glade.set_custom_widget_callbacks( locals() )
Actual Results: AttributeError: 'module' object has no attribute
Expected Results: successful call
Note that 1.99.17 omits "module" from the name of the .so files in
/usr/lib/python2.2/site-packages/gtk-2.0/gtk, so glademodule.so is now glade.so.
The version that comes with Beta 2 is now:
Can this bug be closed?
PyGTK 2.0.0 deprecated the set_custom_widget_callbacks() function introduced in
1.99.17. Use set_custom_handler(), instead.
While I haven't tested beta 2, I'm closing this bug.