popupMenu: Hide ornament by default
We have always defaults to an empty ornament, so that menu items are always aligned, even when radio items are used. However radio items are fairly rare, so most of the time we end up with an extra margin with no purpose. The design team now prefers radio items to only align with each other, so that regular items get the expected margin. Change the defaults accordingly. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2843>
This commit is contained in:

committed by
Marge Bot

parent
8e9398be7e
commit
6bcb4f310f
@ -96,7 +96,7 @@ var PopupBaseMenuItem = GObject.registerClass({
|
||||
|
||||
this._ornamentIcon = new St.Icon({style_class: 'popup-menu-ornament'});
|
||||
this.add(this._ornamentIcon);
|
||||
this.setOrnament(Ornament.NONE);
|
||||
this.setOrnament(Ornament.HIDDEN);
|
||||
|
||||
this._parent = null;
|
||||
this._active = false;
|
||||
|
Reference in New Issue
Block a user