[Parti-discuss] window icons (almost)
Antoine Martin
antoine at nagafix.co.uk
Tue Mar 10 03:33:22 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Nathaniel Smith wrote:
> On Mon, Mar 9, 2009 at 12:29 PM, Antoine Martin <antoine at nagafix.co.uk> wrote:
>> I wanted to add the window icons to the meta data, so I did the following:
>
> Cool, that's been on my todo list, but I keep not getting around to it...
>
>> 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.
Antoine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREKAAYFAkm2F8EACgkQGK2zHPGK1rsVeACffSm0UPw/TQpnYp0opqEx26Kk
1mUAn3B56hT8rCrCvGrz4dj2r0bGTr9r
=Zgl8
-----END PGP SIGNATURE-----
More information about the Parti-discuss
mailing list