← Back to team overview

unity-dev team mailing list archive

Re: [Ayatana-dev] Questions about AppIndicators

 

On 10 October 2010 03:55, Nathan <admin@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> I have recently ported an application to use AppIndicators[1]. (Before
> this, it was a Gnome panel applet.)
>
> During the process of converting the application (which is written in
> Python), I ran into a couple problems / questions about how
> AppIndicators work or how to use a certain feature.
>
> 1. How do you display text beside the AppIndicator? I tried looking
> through the documentation - only to discover that there is none. (At
> least, none for Python.)

You can do that with the set_label() method, a member of the
AppIndicator object.

>
> 2. There seems to be a glitch when menus with images are added to the
> menu. I made an example[2] that reproduced the problem. Stock GTK icons
> show up, but not custom images.
>
> - Nathan
>
> [1]: http://launchpad.net/stackapplet
> [2]: http://pastebin.com/mtwmG0jn
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ayatana-dev
> Post to     : ayatana-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ayatana-dev
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Sense Hofstede
http://sensehofstede.nl/



Follow ups

References