last version of dockx can't be launched (patch)

Bug #1331233 reported by r2rien
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DockbarX
New
Undecided
Unassigned

Bug Description

Hi, thanks a lot for dockx, been enjoying since so long !

Since last version, dockx cannot be launched with a particular theme:
...
  File "/usr/lib/pymodules/python2.7/dockbarx/iconfactory.py", line 715, in __command_transp_sat
    new = cairo.ImageSurface(cairo.FORMAT_ARGB32, w, h)
UnboundLocalError: local variable 'w' referenced before assignment

it looks like 'else' clause in __command_transp_sat is triggered by my surely quitely hacky theme, but then it's missing w and h assignments for cairo.ImageSurface

please find a quick patch fixing it for me:
dockx_transp-sat-fix-unref-vars.patch

as also my theme responsible for this:
Air2DBX.tar.gz

Revision history for this message
r2rien (r2rien) wrote :
Revision history for this message
r2rien (r2rien) wrote :

+ my theme responsible of this

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

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