[pygtk] Problem with load_icon() on Windows
gpodevij at gmail.com
gpodevij at gmail.com
Sun Oct 24 17:39:15 WST 2010
2010/10/24 Dieter Verfaillie <dieterv at optionexplicit.be>
> Hi,
>
>
> Quoting Gaëtan <gpodevij at gmail.com>:
>
>> I have installed PyGTK on Windows and it seems to work
>> correctly (The test on pygtk.org[1]'s FAQ works). Unfortunately, I have
>> a problem when I use load_icon
>>
>> method to add an theme icon in an IconView.
>>
>
> The windows packages don't come with an icon theme by
> default. You can extract the gnome-icon-theme package
> from [1] over your gtk+ installation. Once you've done
> that you need to add the following to your
> <gtk+ installation>/etc/gtk-2.0/gtkrc:
> gtk-icon-theme-name = "gnome"
>
> If you'd prefer the Tango icon theme, I've built 0.8.90
> and it's available from [2]. You extract its contents over
> your gtk+ installation as described above and change your
> gtkrc: gtk-icon-theme-name = "Tango"
>
> hth,
> Dieter
>
> [1]
> http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-icon-theme/2.24/gnome-icon-theme_2.24.0-1_win32.zip
> [2]
> http://www.optionexplicit.be/projects/gnome-windows/20100401/tango-icon-theme-0.8.90.7z
>
>
Thank you very much ! It works perfectly.
Gaëtan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20101024/1f847a43/attachment.html>
More information about the pygtk
mailing list