mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue