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:
Florian Müllner 2022-07-23 17:04:57 +02:00 committed by Marge Bot
parent d03a94dab1
commit 7647e5590a

View File

@ -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);
}