diff --git a/src/BudgiePixelSaverApplet.vala b/src/BudgiePixelSaverApplet.vala
index bd59064..ebcdd94 100644
--- a/src/BudgiePixelSaverApplet.vala
+++ b/src/BudgiePixelSaverApplet.vala
@@ -191,10 +191,10 @@ public class AppletSettings : Gtk.Grid
private Gtk.ComboBox? combobox_visibility;
[GtkChild]
- private Gtk.CheckButton? checkbutton_csd;
+ private Gtk.Switch? switch_csd;
[GtkChild]
- private Gtk.CheckButton? checkbutton_maximized;
+ private Gtk.Switch? switch_unmaximized;
public AppletSettings(Settings? settings)
{
@@ -202,8 +202,8 @@ public class AppletSettings : Gtk.Grid
this.settings.bind("size", spinbutton_length, "value", SettingsBindFlags.DEFAULT);
this.settings.bind("visibility", combobox_visibility, "active", SettingsBindFlags.DEFAULT);
- this.settings.bind("hide-for-csd", checkbutton_csd, "active", SettingsBindFlags.DEFAULT);
- this.settings.bind("hide-for-unmaximized", checkbutton_maximized, "active", SettingsBindFlags.DEFAULT);
+ this.settings.bind("hide-for-csd", switch_csd, "active", SettingsBindFlags.DEFAULT);
+ this.settings.bind("hide-for-unmaximized", switch_unmaximized, "active", SettingsBindFlags.DEFAULT);
}
}
diff --git a/src/settings.ui b/src/settings.ui
index ce32e39..6ebc443 100644
--- a/src/settings.ui
+++ b/src/settings.ui
@@ -95,6 +95,7 @@
True
True
end
+ start
adjustment1
1
@@ -108,6 +109,7 @@
True
False
end
+ start
liststore1
0
0
@@ -124,35 +126,27 @@
-
-
+
True
True
- False
end
- True
-
-
-
+ start
1
- 3
+ 2