dialog: Remove addContent function
Now that child metas are removed, there's no need for a custom `addContent` function anymore. It was only used in one place anyway... https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886
This commit is contained in:

committed by
Florian Müllner

parent
259c44395f
commit
914c6e48b1
@ -99,10 +99,6 @@ class Dialog extends St.Widget {
|
||||
return this._initialKeyFocus || this;
|
||||
}
|
||||
|
||||
addContent(actor) {
|
||||
this.contentLayout.add(actor, { expand: true });
|
||||
}
|
||||
|
||||
addButton(buttonInfo) {
|
||||
let { label, action, key } = buttonInfo;
|
||||
let isDefault = buttonInfo['default'];
|
||||
|
Reference in New Issue
Block a user