[Evolution-hackers] new-mail-notify DBUS stuff
Not Zed
notzed@ximian.com
Wed, 09 Mar 2005 10:35:56 +0800
--=-zuqf5i0bdY6OBcP5e1CD
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
That should've been evolution-patches.
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.
>
> 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.
> >
--=-zuqf5i0bdY6OBcP5e1CD
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>
That should've been evolution-patches.<BR>
<BR>
On Wed, 2005-03-09 at 10:25 +0800, Not Zed wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
<FONT COLOR="#000000">Try having a look at the example applet posted to evolution-hackers, it is written in c, but handles the notification.</FONT><BR>
<BR>
<FONT COLOR="#000000">On Wed, 2005-03-09 at 01:28 +0000, David Johnson wrote: </FONT>
<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>
</BLOCKQUOTE>
</BODY>
</HTML>
--=-zuqf5i0bdY6OBcP5e1CD--