Refactor: Simplify PrefsPage UI file and get rid of InternalChildren

This commit is contained in:
June 2023-01-22 21:12:05 +01:00
commit f7309e7f65
No known key found for this signature in database
GPG key ID: 094C2AC34192FA11
2 changed files with 30 additions and 50 deletions

View file

@ -15,12 +15,7 @@ const ScrollManager = Me.imports.prefsModules.ScrollManager;
var PrefsPage = GObject.registerClass({
GTypeName: "PrefsPage",
Template: Me.dir.get_child("ui").get_child("prefs-page.ui").get_uri(),
InternalChildren: [
"left-box",
"center-box",
"right-box"
]
Template: Me.dir.get_child("ui").get_child("prefs-page.ui").get_uri()
}, class PrefsPage extends Adw.PreferencesPage {
constructor(params = {}) {
super(params);