Skip to content

Two small fixes for userWidget

Jonas Dreßler requested to merge verdre/gnome-shell:user-widget-fixes into master

userWidget: Simplify icon size setting a bit

Remove the default icon size of -1 and always set the container StBin to a real size. This fixes an error where the "width" and "height" properties get set to -2 (which is -1 * scaleFactor) in the _init function.


userWidget: Always set actor size inside update()

We also want to ensure the Avatar StBin is sized correctly when an icon child is used, so always set the actor size inside the update() function.

Merge request reports