Here's another (better, I think) fix:
in fancy-trayicon.py, replace the on_expose_event method by this code:

    def on_expose_event(self, widget, event):
        if not widget.__gdk_gc:
            fg_style, bg_style = widget.get_style().fg[0], 
widget.get_style().bg[0]
            color = widget.__color_blend(fg_style, bg_style, 0.3)
            widget.__gdk_gc = widget.window.new_gc()
            widget.__gdk_gc.set_rgb_bg_color(color)
            widget.__gdk_gc.set_rgb_fg_color(color)
        widget.__draw()
        return False

I'm also working on fixing other bug(s) for this plugin. I'll post it
here and on the quodlibet website when it'll be ready.

-- 
quodlibet.py crashed with AttributeError in on_expose_event()
https://bugs.launchpad.net/bugs/225380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to