March 22, 2007
(Posted at 9:31 pm)Playing with DBus
Check out this listener - still incomplete in many ways…
Compile with “gcc listener.c -o listener `pkg-config –cflags –libs dbus-glib-1`” and run with “./listener” & to create a stream of events, fire up evolution & just start browsing through emails.
–> Signal received!
Signal path : /org/gnome/evolution/mail/newmail
Signal interface : org.gnome.evolution.mail.dbus.Signal
Signal name : MessageReading
Signal sender : :1.5
Payload : [Inbox]
Signal had 1 arguments in the payload


