Fwd: App indicators in Java

Marco Trevisan marco.trevisan at canonical.com
Mon May 13 16:57:14 UTC 2013

Il giorno lun, 06/05/2013 alle 09.01 +0200, Marlin Cremers ha scritto:
> Hey Ted thanks for responding. So I've been trying some things by
> looking at the Ubuntu One source. I did succeed in getting a item in
> the sync menu. However I'm also trying to implement the on/off button.
> When its toggled it returns a <GParamBoolean 'paused'> but how do I
> access the state? I can't seem to get the value from it. So how would
> I do that.
> Also when I toggle the button for the first time my app doesn't seem
> to get a signal. Only the times after that. Do I need to listen to it
> in another way? I'm using this at the moment:
> self.app.connect("notify::paused", self.sync_stage_change)
> Marlin

You can probably check the UbuntuOne code to see how to interact with
the SyncMenu, give a look to http://go.3v1n0.net/10STY0G

More information about the ubuntu-devel mailing list