🔧 Add switch to UI

This commit is contained in:
Simon Schneegans
2023-01-07 13:25:36 +01:00
parent c7488c6646
commit 09f2b3bde9
5 changed files with 101 additions and 4 deletions
+1
View File
@@ -104,6 +104,7 @@ var PreferencesDialog = class PreferencesDialog {
// Bind general options properties.
this.bindSwitch('destroy-dialogs');
this.bindSwitch('disable-on-battery');
this.bindSwitch('disable-on-power-save');
// Starting with GNOME Shell 42, the settings dialog uses libadwaita (at least most of
// the time - it seems that pop!_OS does not support libadwaita even on GNOME 42). We