[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to register dbus method
From: |
Michael Albinus |
Subject: |
Re: Unable to register dbus method |
Date: |
Wed, 12 Dec 2012 20:43:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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.
> Thanks,
> Lluis
Best regards, Michael.