I'm building an app using PyGTK 2.22.4 and Python 2.6, and bundling it
up using py2exe. One of the big problems I'm facing is size, though.

I can strip out translations, etc and other extraneous files
(extraneous, that is, for my very well constrained deployment
environment!). What I'm looking at now are icons. I use a very small
subset of the GTK stock icons in my app, even considering those used
by the file save/load dialog and message boxes — but there are a tonne
of app-specific and unnecessary icons in the Tango theme (which I'm
using).

I'd like to whitelist the icons to keep in my distribution, but it's
hard to know what GTK stock identifiers map to what files. For
example, there's a "gtk-info" stock identifier listed in Glade. Does
this map to "status/info.[svg, png]"? What about "gtk-save"... there's
no "actions/save.*" but there is a "actions/gtk-save.*".

Also, what are the icons needed by the GTK file chooser? All the
mimetypes? Places?

Any pointers appreciated :)

Cheers,
Jason
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to