Fwd: A few begninner's questions
Kalle Vahlman
kalle.vahlman at gmail.com
Wed Jun 1 03:06:43 PDT 2005
The traditional forgot-to-change-to:-field apologies etc. You know the drill.
---------- Forwarded message ----------
From: Kalle Vahlman <kalle.vahlman at gmail.com>
Date: Jun 1, 2005 1:05 PM
Subject: Re: A few begninner's questions
To: Søren Hansen <sh at warma.dk>
On 6/1/05, Søren Hansen <sh at warma.dk> wrote:
> ons, 01 06 2005 kl. 11:34 +0300, skrev Kalle Vahlman:
> > > signal interface=org.gnome.evolution.mail.dbus.Signal;
> > > member=MessageReading; sender=:1.31
> > > string:INBOX
> > >
> > > Now, my first question is this: The sender of ":1.31"... Is that the
> > > expected format of a sender field?
> > Yes, that is an unique identifier for an app connecting to the bus.
> > You don't need to know or care about that, though.
>
> Well, you see, that's the problem, actually.
It really shouldn't be!
> > What's your next question ?-)
>
> The Python bindings need to be changed. When I use add_signal_receiver,
Uhm, you are using what?
>From the example code (for dbus 23.4):
---8<----
def hello_signal_handler(interface, signal_name, service, path, message):
print ("Received signal '%s.%s' from object '%s%s'"
% (interface, signal_name, service, path))
object.connect_to_signal("hello", hello_signal_handler)
--8>---
The add_signal_receiver sounds like something you really shouldn't be using :)
--
Kalle Vahlman, zuh at iki.fi
--
Kalle Vahlman, zuh at iki.fi
More information about the dbus
mailing list