mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
This commit is contained in:
parent
42d45bd14a
commit
805a409318
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue