-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Nathaniel Smith wrote:
> On Tue, Mar 10, 2009 at 12:33 AM, Antoine Martin <[email protected]> 
> wrote:
>>>>                pixbuf = gtk.gdk.pixbuf_new_from_data(data,
>>>> gtk.gdk.COLORSPACE_RGB, True, 8, width, height, rowstride)
>>> Does it help to put 'False' as the 3rd argument instead?
>> OMG... it does!
>>
>> We lose transparency, but I think it's good enough as it is (better than
>> nothing)
>> Will send a patch shortly.
> 
> Transparency is easy... the problem is just that _get_rgb or whatever
> it's called is fetching the pixmap data without transparency (b/c for
> ordinary windows alpha is a waste of space) -- you can tell because it
> passes False as the 3rd argument -- and the two calls have to match.
> Just use True on both sides and transparency will work.
Hah, will re-send patch that does this.

Antoine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkm2IpcACgkQGK2zHPGK1rt8AwCfbjlx2anKx9pJ0pCy2mJccj86
v54Anin7DTCSl4fnv7FlPktDhYGoh7sZ
=cHyB
-----END PGP SIGNATURE-----

_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to