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:
@ -64,7 +64,7 @@ class TodayButton extends St.Button {
|
||||
});
|
||||
|
||||
const hbox = new St.BoxLayout({vertical: true});
|
||||
this.add_child(hbox);
|
||||
this.child = hbox;
|
||||
|
||||
this._dayLabel = new St.Label({
|
||||
style_class: 'day-label',
|
||||
|
Reference in New Issue
Block a user