On Wed, 2005-03-09 at 10:25 +0800, Not Zed wrote:
>
> Try having a look at the example applet posted to evolution-hackers,
> it is written in c, but handles the notification.
>
Thanks for that, it was very helpful.
However I'm still having problems getting my script to see the Evolution
service on the SESSION bus. I made the script talk to HAL successfully,
so my script is basically OK.
I've currently got the following Python code:
bus.add_signal_receiver(goforit, #my signal handling function
"Newmail", #interface
"org.gnome.evoluton.mail.dbus.Signal", #signal
"org.gnome.evolution", #service
"/org/gnome/evolution/mail/newmail") #path
But I keep getting "no such service". The applet mentioned above works
fine and from looking at the code I'm sure "org.gnome.evolution" is the
name of the service...
I understand that not many people are using this stuff yet, especially
not with Python, but any help would be greatly appreciated.
Regards,
David.
--
David Johnson
www.david-web.co.uk
www.penguincomputing.co.uk
_______________________________________________
evolution-hackers maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/evolution-hackers