From 805a409318540b40da52c9a2edf3d01669d4d805 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 9 Mar 2013 11:09:46 +0100 Subject: [PATCH] keyring: Don't replace an already running prompter * Prompters have state, and cancelling an already prompter will cause prompts that are in progress to fail. * In addition allow replacement of our shell prompter for debugging purposes. https://bugzilla.gnome.org/show_bug.cgi?id=695485 --- js/ui/components/keyring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index 34d7b6dfd..b38888f5a 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -222,7 +222,7 @@ const KeyringPrompter = new Lang.Class({ enable: function() { this._prompter.register(Gio.DBus.session); this._dbusId = Gio.DBus.session.own_name('org.gnome.keyring.SystemPrompter', - Gio.BusNameOwnerFlags.REPLACE, null, null); + Gio.BusNameOwnerFlags.ALLOW_REPLACEMENT, null, null); }, disable: function() {