[gnome-keyring] Change password dbus method is actually on internal interface
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] Change password dbus method is actually on internal interface
- Date: Mon, 30 Apr 2012 15:20:21 +0000 (UTC)
commit 1bbdac506bf39814374e3c8f964faebfe5058920
Author: Stef Walter <stefw gnome org>
Date: Mon Apr 30 17:16:51 2012 +0200
Change password dbus method is actually on internal interface
* But leave the one on the secret service interface since
that's what libgnome-keyring erroneously uses.
daemon/dbus/gkd-secret-service.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-service.c b/daemon/dbus/gkd-secret-service.c
index 5adc1ba..39b4c9a 100644
--- a/daemon/dbus/gkd-secret-service.c
+++ b/daemon/dbus/gkd-secret-service.c
@@ -890,8 +890,9 @@ service_message_handler (GkdSecretService *self, DBusMessage *message)
if (dbus_message_is_method_call (message, SECRET_SERVICE_INTERFACE, "Lock"))
return service_method_lock (self, message);
- /* org.gnome.keyring.Service.ChangeLock() */
- if (dbus_message_is_method_call (message, SECRET_SERVICE_INTERFACE, "ChangeLock"))
+ /* org.gnome.keyring.InternalUnsupportedGuiltRiddenInterface.ChangeWithPrompt() */
+ if (dbus_message_is_method_call (message, INTERNAL_SERVICE_INTERFACE, "ChangeWithPrompt") ||
+ dbus_message_is_method_call (message, SECRET_SERVICE_INTERFACE, "ChangeLock"))
return service_method_change_lock (self, message);
/* org.freedesktop.Secret.Service.ReadAlias() */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]