Unable to load stock icons
- From: Thomas Dybdahl Ahle <lobais gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Unable to load stock icons
- Date: Sat, 02 Feb 2008 23:23:57 +0100
Hey, I'm writing an app, using pygtk, looking up icons using
gtk.icon_theme_get_default().load_icon(...).
Now I've got reports from some KDE users which are unable to load even
tango specified icons this way. Also when the gnome-icon-theme is
installed and the icons are easily found in /usr/share/icons/gnome.
I've made sure that the XDG_DATA_DIRS variable was set correct.
I wonder how gtk.icon_theme_get_default().load_icon(...) works. How does
it know where to look up icons?
If there isn't a way to configure gtk to make it find the stock-icons,
do you think it would be possible to fall back on loading icons with
gtk.gdk.pixbuf_new_from_file on the /usr/share/icons/gnome folder?
The report I got was this:
http://code.google.com/p/pychess/issues/detail?id=302
Thanks,
Thomas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]