Self-response as I found an answer :
I used glib introspection and Glib.spawn_command_line_sync to start my
process and get the result.



On Wed, Oct 27, 2010 at 4:13 PM, Thomas Bouffon <thomas.bouf...@gmail.com>wrote:

> Hello,
> I'm writing an extension which gives me the time for the next bus close to
> my office in the status tray.
> I successfully created and displayed a button close to what the clock is (I
> want to start an app when clicking on it).
> My problem is to fill the label with the next bus time. I already have an
> executable which gives the time in stdout.
>
> Maybe I am not doing things the right way and shoud use Dbus instead ? or
> are there any other options to put things in the status tray ?
>
> Thank you very much,
> Thomas
>
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to