Sunday, October 31, 2010

SOLVED: Avant-Window-Navigator Stacks Applets not working under Python 3

So, all of a sudden my AWN Stacks applet stop working... right after the switch to Python 3 (blame on you Arch Linux!!!).

BUT!

... I traced the issue back to its origin so there is a way (as of today quite a dirty one) to solve it:

$ gedit /usr/share/avant-window-navigator/applets/stacks/stacks_applet.py
(You may need to sudo it)

Find line 271, comment it and change it to:
pixbuf = IconFactory().scale_to_bounded(pixbuf, 1 * size)
(or to pixbuf = IconFactory().scale_to_bounded(pixbuf, size) if you're not a Captain Obvious fan)

Save and exit.

Restart AWN.

Done.

I'm on a Phacochoerus africanus.

2 comments:

  1. Today i wanted to install Avant-Window-Navigator under Python. I had some troubles and know i get why. I just wanted to say thank you. Now you know you helped a total noob in her first steps.

    ReplyDelete