No bindings for WINDOW_STATE_* in python-wnck

Bug #447497 reported by aleksey
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Gnome Python Desktop
Fix Released
Critical
gnome-python-desktop (Debian)
Fix Released
Unknown
gnome-python-desktop (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

There is no bindings for WINDOW_STATE_* constants in gnome-python-desktop 2.28.
Some taskbar-like applets can not work.

Sorry for bad English.

Reproducer for this bug:

python -c "import wnck; print wnck.WINDOW_STATE_URGENT"

** (-c:3362): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum'

** (-c:3362): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum'

** (-c:3362): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'WINDOW_STATE_URGENT'

Revision history for this message
Matias Särs (msevens) wrote :

Same goes for WINDOW_ACTION_* constants.

Revision history for this message
Markus Korn (thekorn) wrote :

Thanks for reporting this bug.
This bug has already been fixed upstream (see the linked bugreport on bugzilla.gnome.org)

Changed in gnome-python-desktop (Ubuntu):
status: New → Confirmed
description: updated
Changed in gnome-python-desktop (Debian):
status: Unknown → New
Changed in gnome-python-desktop (Debian):
status: New → Confirmed
Changed in gnome-python-desktop (Ubuntu):
importance: Undecided → Low
importance: Low → Medium
status: Confirmed → Fix Committed
_erik (eriju048)
Changed in gnome-python-desktop (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in gnome-python-desktop:
importance: Unknown → Critical
status: Unknown → Fix Released
Changed in gnome-python-desktop (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-python-desktop (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.