Re: [Evolution-hackers] new-mail-notify DBUS stuff
- From: David Johnson <dj david-web co uk>
- To: evolution-hackers lists ximian com
- Cc: evolution-hackers lists ximian com
- Subject: Re: [Evolution-hackers] new-mail-notify DBUS stuff
- Date: Thu, 10 Mar 2005 01:48:47 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]