[gnome-shell] polkitAgent: Use wiggle effect to inform about wrong password or problem



commit ded8412a2ac564b9a7cff1a28e369a64105697ca
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Mon Jan 20 14:56:04 2020 +0100

    polkitAgent: Use wiggle effect to inform about wrong password or problem
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

 js/ui/components/polkitAgent.js | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js
index cf583823a7..2e154ff99a 100644
--- a/js/ui/components/polkitAgent.js
+++ b/js/ui/components/polkitAgent.js
@@ -9,6 +9,7 @@ const Main = imports.ui.main;
 const ModalDialog = imports.ui.modalDialog;
 const ShellEntry = imports.ui.shellEntry;
 const UserWidget = imports.ui.userWidget;
+const Util = imports.misc.util;
 
 const DialogMode = {
     AUTH: 0,
@@ -251,6 +252,8 @@ var AuthenticationDialog = GObject.registerClass({
                 this._errorMessageLabel.show();
                 this._infoMessageLabel.hide();
                 this._nullMessageLabel.hide();
+
+                Util.wiggle(this._passwordEntry);
             }
 
             /* Try and authenticate again */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]