emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to register dbus method


From: Lluís
Subject: Re: Unable to register dbus method
Date: Wed, 12 Dec 2012 22:12:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Michael Albinus writes:

> Lluís <address@hidden> writes:
>> Hi,

> Hi Lluís,

>> After getting a working implementation for providing GNOME Shell's calendar
>> widget with info from org-mode events, it looks like this suddenly stopped
>> working:
>> 
>> The callback never gets invoked, while "dbus-monitor" shows a method call is
>> actually sent by the widget, but only the evolution server responds to it:
>> 
>> Is it maybe that evolution registered for that method first and thus further
>> registrations simply take no effect?

> Maybe. Or Evolution has replaced your registration by its own. D-Bus
> life is hard.

> Note, that you cannot register for just one method; you can register
> only for a whole service. `dbus-register-method' does it silently for
> you.

> Install d-feet (very useful anyway!), and check, which application has
> registered for the service org.gnome.Shell.CalendarServer.

> In order to bring your application in front of the service, you could
> use `dbus-register-service' with the `:replace-existing' flag.

Aha! The `:replace-existing' did the trick and it's now working again.

Does this mean I should resend the method invocation through DBus to whomever is
not the "primary owner"? Sorry for the DBus-centric questions.


Thanks a lot,
  Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]