[Evolution-hackers] new-mail-notify DBUS stuff
Not Zed
notzed@ximian.com
Wed, 09 Mar 2005 10:25:51 +0800
--=-m7MVFN/lQGCo6sW89Or2
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Try having a look at the example applet posted to evolution-hackers, it
is written in c, but handles the notification.
On Wed, 2005-03-09 at 01:28 +0000, David Johnson wrote:
> Hi all,
>
> I'm trying to write a simple command-line app in Python to listen for
> new mail notifications from Evolution.
>
> I've read new-mail-notify.c and I mostly understand what's going on, but
> I can't figure out Evolution's DBUS service name.
>
> I've tried "org.gnome.evolution" and variations on that, but I keep
> getting "no such service". Evolution is running and has the DBUS option
> enabled.
>
> This is the script I'm working with:
> http://cvs.freedesktop.org/*checkout*/dbus/dbus/python/examples/example-signal-recipient.py?rev=1.2&content-type=text%2Fplain
>
> Thanks in advance for any help,
> David.
>
--=-m7MVFN/lQGCo6sW89Or2
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.5.7">
</HEAD>
<BODY>
<BR>
Try having a look at the example applet posted to evolution-hackers, it is written in c, but handles the notification.<BR>
<BR>
On Wed, 2005-03-09 at 01:28 +0000, David Johnson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi all,</FONT>
<FONT COLOR="#000000">I'm trying to write a simple command-line app in Python to listen for</FONT>
<FONT COLOR="#000000">new mail notifications from Evolution.</FONT>
<FONT COLOR="#000000">I've read new-mail-notify.c and I mostly understand what's going on, but</FONT>
<FONT COLOR="#000000">I can't figure out Evolution's DBUS service name.</FONT>
<FONT COLOR="#000000">I've tried "org.gnome.evolution" and variations on that, but I keep</FONT>
<FONT COLOR="#000000">getting "no such service". Evolution is running and has the DBUS option</FONT>
<FONT COLOR="#000000">enabled.</FONT>
<FONT COLOR="#000000">This is the script I'm working with:</FONT>
<FONT COLOR="#000000"><A HREF="http://cvs.freedesktop.org/*checkout*/dbus/dbus/python/examples/example-signal-recipient.py?rev=1.2&content-type=text%2Fplain">http://cvs.freedesktop.org/*checkout*/dbus/dbus/python/examples/example-signal-recipient.py?rev=1.2&content-type=text%2Fplain</A></FONT>
<FONT COLOR="#000000">Thanks in advance for any help,</FONT>
<FONT COLOR="#000000">David.</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>
--=-m7MVFN/lQGCo6sW89Or2--