[gnome-shell/gnome-3-38] polkitAgent: Drop separate user icon style



commit 610db2703e5495d468d9b9370c587d0bd9c8b7bc
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Oct 8 18:47:18 2020 +0000

    polkitAgent: Drop separate user icon style
    
    It should use the same style as used elsewhere (like the lock screen),
    so stop using a separate style class to pick up the defaults.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3252
    
    
    (cherry picked from commit 9d5165b1aa5ad11662c9c02cbf161fd7004e3f05)

 data/theme/gnome-shell-sass/widgets/_dialogs.scss | 4 ----
 js/ui/components/polkitAgent.js                   | 1 -
 2 files changed, 5 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_dialogs.scss 
b/data/theme/gnome-shell-sass/widgets/_dialogs.scss
index fc77920235..0f568b73a6 100644
--- a/data/theme/gnome-shell-sass/widgets/_dialogs.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dialogs.scss
@@ -135,10 +135,6 @@
   spacing: 8px;
   margin-bottom: 6px;
 
-  .polkit-dialog-user-icon {
-    border-radius: 99px;
-    background-size: contain;
-  }
   .polkit-dialog-user-root-label { color: $warning_color; }
 }
 
diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js
index 5515963917..ae75f3c00f 100644
--- a/js/ui/components/polkitAgent.js
+++ b/js/ui/components/polkitAgent.js
@@ -65,7 +65,6 @@ var AuthenticationDialog = GObject.registerClass({
 
         this._userAvatar = new UserWidget.Avatar(this._user, {
             iconSize: DIALOG_ICON_SIZE,
-            styleClass: 'polkit-dialog-user-icon',
         });
         this._userAvatar.x_align = Clutter.ActorAlign.CENTER;
         userBox.add_child(this._userAvatar);


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