popupMenu: Append ornament in image menu items
Having both image and ornament in front of the label looks odd. Keep the image where it is, and move the ornament to the end. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2389>
This commit is contained in:
parent
d03a94dab1
commit
7647e5590a
@ -468,6 +468,8 @@ class PopupImageMenuItem extends PopupBaseMenuItem {
|
||||
this.add_child(this.label);
|
||||
this.label_actor = this.label;
|
||||
|
||||
this.set_child_above_sibling(this._ornamentLabel, this.label);
|
||||
|
||||
this.setIcon(icon);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user