File bnc948802-fix-user-logout-dialog-icon.patch of Package gnome-shell.1083

Index: gnome-shell-3.10.4/data/theme/gnome-shell.css
===================================================================
--- gnome-shell-3.10.4.orig/data/theme/gnome-shell.css
+++ gnome-shell-3.10.4/data/theme/gnome-shell.css
@@ -1951,9 +1951,11 @@ StScrollBar StButton#vhandle:active {
 
 .end-session-dialog-logout-icon {
     border: 2px solid #8b8b8b;
-    border-radius: 5px;
-    width: 32px;
-    height: 32px;
+    /* reduce border radius to better fit image */
+    border-radius: 2px;
+    /* the w/h setting has no effect on its own */
+    width: 40px;
+    height: 40px;
     background-size: contain;
 }
 
Index: gnome-shell-3.10.4/js/ui/endSessionDialog.js
===================================================================
--- gnome-shell-3.10.4.orig/js/ui/endSessionDialog.js
+++ gnome-shell-3.10.4/js/ui/endSessionDialog.js
@@ -335,7 +335,8 @@ const EndSessionDialog = new Lang.Class(
                                                 style_class: dialogContent.iconStyleClass });
         } else {
             let avatarWidget = new UserWidget.Avatar(this._user,
-                                                     { iconSize: _DIALOG_ICON_SIZE,
+                                                     // add border width and paddings into consideration
+                                                     { iconSize: _DIALOG_ICON_SIZE + 8,
                                                        styleClass: dialogContent.iconStyleClass });
             this._iconBin.child = avatarWidget.actor;
             avatarWidget.update();
openSUSE Build Service is sponsored by