6

Appindicator Theme Dependent Icons

view full story
linux-howto

http://askubuntu.com – 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? 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 ht (HowTos)