Bug 511082

Summary: pygtk2 doesn't include gtk-2.16-types.defs
Product: [Fedora] Fedora Reporter: Marek Kašík <mkasik>
Component: pygtk2Assignee: Matthew Barnes <mbarnes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mbarnes
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-13 17:21:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 509299    
Attachments:
Description Flags
a patch fixing this bug none

Description Marek Kašík 2009-07-13 15:25:50 UTC
Created attachment 351485 [details]
a patch fixing this bug

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.

Marek

Comment 1 Matthew Barnes 2009-07-13 17:21:01 UTC
Fixed in pygtk2-2.15.2-2.fc12.

Also forwarded this upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=588466