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 588466 - Does not include gtk-2.16-types.defs
Does not include gtk-2.16-types.defs
Status: RESOLVED FIXED
Product: pygtk
Classification: Bindings
Component: general
2.15.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-13 17:17 UTC by Matthew Barnes
Modified: 2009-07-14 00:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (239 bytes, patch)
2009-07-13 17:17 UTC, Matthew Barnes
committed Details | Review

Description Matthew Barnes 2009-07-13 17:17:00 UTC
Forwarding this from a Fedora bug:
http://bugzilla.redhat.com/show_bug.cgi?id=511082

Description of problem:
pygtk2 doesn't include gtk-2.16-types.defs file in gtk-2.16.defs. This causes
problems when dropping dependency of system-config-printer on libsexy.

Version-Release number of selected component (if applicable):
pygtk2-2.15.2-1

How reproducible:
always

Steps to Reproduce:
  in python:
    import gtk
    gtk.EntryIconPosition

Actual results:
"AttributeError: 'module' object has no attribute 'EntryIconPosition'"

Expected results:
something like: "<class 'gtk._gtk.EntryIconPosition'>"

Additional info:
A patch fixing this is attached.
Comment 1 Matthew Barnes 2009-07-13 17:17:35 UTC
Created attachment 138349 [details] [review]
Proposed patch

Patch from Marek Kašík
Comment 2 Gian Mario Tagliaretti 2009-07-13 23:43:25 UTC
Yeah, sorry about that, I've noticed the same problem yesterday while writing the docs for 2.16-

I have the same fix plus another fix in the Makefile, I will commit later.