[gnome-shell] polkitAgent: Remove styleClass argument for caps lock warning



commit 9009b50bd1a857ea63ec13972748bc01529b2538
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Thu Jan 23 23:25:38 2020 +0100

    polkitAgent: Remove styleClass argument for caps lock warning
    
    The caps lock warning now has its own css class that works for this
    case, too. Remove the custom class parameter and just use the default
    one.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

 js/ui/components/polkitAgent.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js
index 8aea297244..e2b056fe18 100644
--- a/js/ui/components/polkitAgent.js
+++ b/js/ui/components/polkitAgent.js
@@ -108,8 +108,8 @@ var AuthenticationDialog = GObject.registerClass({
         this._passwordBox.add(this._workSpinner);
 
         this._passwordBox.hide();
-        this._capsLockWarningLabel = new ShellEntry.CapsLockWarning({ style_class: 
'prompt-dialog-caps-lock-warning' });
-        content.add_child(this._capsLockWarningLabel);
+        let capsLockWarning = new ShellEntry.CapsLockWarning();
+        content.add_child(capsLockWarning);
 
         this._errorMessageLabel = new St.Label({ style_class: 'prompt-dialog-error-label' });
         this._errorMessageLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;


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