[gnome-shell/gbsneto/multi-user-button: 5/5] unlockDialog: Hide cancel button
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/multi-user-button: 5/5] unlockDialog: Hide cancel button
- Date: Fri, 14 Feb 2020 16:17:15 +0000 (UTC)
commit 9e274037c7d022c43a26004222244cf295da3e04
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Feb 14 13:14:55 2020 -0300
unlockDialog: Hide cancel button
As per the latest design review, hide the cancel button
on the unlock dialog.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1006
js/ui/unlockDialog.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index af6a26c4fa..5a7a4aa53a 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -668,6 +668,8 @@ var UnlockDialog = GObject.registerClass({
this._authPrompt = new AuthPrompt.AuthPrompt(this._gdmClient,
AuthPrompt.AuthPromptMode.UNLOCK_ONLY);
+ this._authPrompt.cancelButton.visible = false;
+
this._authPrompt.connect('failed', this._fail.bind(this));
this._authPrompt.connect('cancelled', this._fail.bind(this));
this._authPrompt.connect('reset', this._onReset.bind(this));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]