mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
userWidget: Actually respect the iconSize parameter
The iconSize parameter was only being respected if it was the default icon fallback. https://bugzilla.gnome.org/show_bug.cgi?id=706681
This commit is contained in:
parent
e4d46aee97
commit
1a415d5fa7
2 changed files with 3 additions and 3 deletions
|
|
@ -2244,8 +2244,6 @@ StScrollBar StButton#vhandle:active {
|
|||
.framed-user-icon {
|
||||
border: 2px solid #8b8b8b;
|
||||
border-radius: 5px;
|
||||
width: 48pt;
|
||||
height: 48pt;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,9 @@ const Avatar = new Lang.Class({
|
|||
|
||||
this.actor = new St.Bin({ style_class: params.styleClass,
|
||||
track_hover: params.reactive,
|
||||
reactive: params.reactive });
|
||||
reactive: params.reactive,
|
||||
width: this._iconSize,
|
||||
height: this._iconSize });
|
||||
},
|
||||
|
||||
setSensitive: function(sensitive) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue