mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
js: Cleanup use of StBin
StBins (inc StButton) should have their content managed via :child rather than add_child() Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3010>
This commit is contained in:
parent
49cca32ca5
commit
a830edf8cf
7 changed files with 29 additions and 24 deletions
|
|
@ -210,7 +210,7 @@ class ShowAppsIcon extends DashItemContainer {
|
|||
});
|
||||
this.icon.y_align = Clutter.ActorAlign.CENTER;
|
||||
|
||||
this.toggleButton.add_child(this.icon);
|
||||
this.toggleButton.child = this.icon;
|
||||
this.toggleButton._delegate = this;
|
||||
|
||||
this.setChild(this.toggleButton);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue