[pygtk] Problem with load_icon() on Windows
Dieter Verfaillie
dieterv at optionexplicit.be
Sun Oct 24 16:50:36 WST 2010
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
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the pygtk
mailing list