🚚 Rename settings ui files

This commit is contained in:
Simon Schneegans
2022-01-17 16:58:51 +01:00
parent 333b60bf4e
commit 8fae06ea14
25 changed files with 316 additions and 310 deletions
-6
View File
@@ -59,16 +59,10 @@ var PreferencesDialog = class PreferencesDialog {
this._builder = new Gtk.Builder();
this._builder.add_from_resource(`/ui/common/main-menu.ui`);
this._builder.add_from_resource(`/ui/${utils.getGTKString()}/prefs.ui`);
this._builder.add_from_resource(`/ui/${utils.getGTKString()}/generalPage.ui`);
// Bind general options properties.
this.bindSwitch('destroy-dialogs');
// Add the General Options page to the main stack.
const stack = this._builder.get_object('main-stack');
stack.add_titled(
this._builder.get_object('general-prefs'), 'general', 'General Options');
// Add all other effect pages.
ALL_EFFECTS.forEach(Effect => {
const [minMajor, minMinor] = Effect.getMinShellVersion();