system: Drop custom styling of user submenu icon

The default style we get from .popup-menu-icon actually works better,
as it ensures consistency with all the other submenu icons used in
the aggregate menu.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/591
This commit is contained in:
Florian Müllner 2019-06-24 23:26:41 +02:00 committed by Georges Basile Stavracas Neto
parent 0641b1e279
commit d4582491f5
2 changed files with 1 additions and 9 deletions

View File

@ -1155,11 +1155,6 @@ StScrollBar {
// a little unstructured mess:
.system-switch-user-submenu-icon {
icon-size: 16px;
padding: 0 4px;
}
#appMenu {
spinner-image: url("resource:///org/gnome/shell/theme/process-working.svg");
spacing: 4px;

View File

@ -186,10 +186,7 @@ var Indicator = class extends PanelMenu.SystemIndicator {
let item;
this._switchUserSubMenu = new PopupMenu.PopupSubMenuMenuItem('', true);
this._switchUserSubMenu.icon.set({
icon_name: 'avatar-default-symbolic',
style_class: 'system-switch-user-submenu-icon'
});
this._switchUserSubMenu.icon.icon_name = 'avatar-default-symbolic';
// Since the label of the switch user submenu depends on the width of
// the popup menu, and we can't easily connect on allocation-changed