Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried to create an AppIndicator using gtk.ImageMenuItems. Normally ImageMenuItems display the stock's item, but using Python AppIndicator no Icons in the menu are displayed at all. Is this a lacking feature ?

Here is my example code. Of course the indicator displays an icon but non of the menu entries:

exit_item = gtk.ImageMenuItem(stock_id=gtk.STOCK_QUIT)
exit_item.connect("activate", quit, None)
share|improve this question

1 Answer 1

up vote 3 down vote accepted

By default icons on menu entries are not displayed (you can change that somewhere in GConf/DConf). Use


to override this.

share|improve this answer
Thank you Florian. I didn't know that this was disabled by default. This works fine. –  user22153 Jan 10 '12 at 17:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.