[gnome-shell] Components/Keyring: unregister the system prompter when disabling
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Components/Keyring: unregister the system prompter when disabling
- Date: Tue, 4 Sep 2012 23:15:33 +0000 (UTC)
commit 59412a94052c68659be5da31953956c7aad0bfd8
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Wed Sep 5 01:13:36 2012 +0200
Components/Keyring: unregister the system prompter when disabling
Otherwise, we get a critical when enabling again
js/ui/components/keyring.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js
index dfa7cc0..ef53c0b 100644
--- a/js/ui/components/keyring.js
+++ b/js/ui/components/keyring.js
@@ -219,6 +219,7 @@ const KeyringPrompter = new Lang.Class({
},
disable: function() {
+ this._prompter.unregister(false);
Gio.DBus.session.unown_name(this._dbusId);
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]