[Gimp-developer] Finding the gimp icon path in Python....



How can I reliably find the path to where the Gimp icons are across
all platforms?

I'm basically doing:

 self.set_icon_from_file("/usr/share/icons/hicolor/scalable/apps/gimp.svg")

in a PyGtk plug-in, which will obviously break on Windows, OSX and
even on some other Linux distros.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]