Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/Views/Appearance.vala
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,14 @@ public class PantheonShell.Appearance : Switchboard.SettingsPage {
child = grid;
add_css_class ("appearance-view");

// This key should be deprecated. Set only because interface settings is the source of truth
var animations_settings = new Settings ("io.elementary.desktop.wm.animations");
animations_settings.bind ("enable-animations", animations_switch, "active", SettingsBindFlags.INVERT_BOOLEAN);
animations_switch.notify["active"].connect (() => {
animations_settings.set_boolean ("enable-animations", !animations_switch.active);
});

interface_settings.bind ("overlay-scrolling", scrollbar_switch, "active", INVERT_BOOLEAN);
interface_settings.bind ("enable-animations", animations_switch, "active", INVERT_BOOLEAN);

var background_settings = new GLib.Settings ("io.elementary.desktop.background");
background_settings.bind ("dim-wallpaper-in-dark-style", dim_switch, "active", DEFAULT);
Expand Down