I am developing PyGTK app with appindicator. I create my appindicator similar like in this example. In this example "indicator-messages" stock icon is used.
So, I can:
- use stock icon (from existing theme)
- create custom icon
The question is, if I use stock icon, how can I determine what icons are available (is this consistent on all OS-es, is it provided by GTK)? Will this behave same on different Linux distributions?
Or, if I create custom icon, how can I detect which theme is active (I suppose I need to have dark and light icon version) and render appropriate icon? What is with other themes, looks like it's hard to support all of them?
On http://unity.ubuntu.com/projects/appindicators/ it says "Themable panel icons – you can set a specific icon to be a panel icon for an indicator: this should make it easier for creating single colour panel icons for light and dark themes." but it does not says how to achieve this?
I found Weather indicator does it, but with stock icons I think.