Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions src/components/sidebar/pages/desktop_page.vala
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,14 @@ namespace Singularity {
});
app_group.add_row(icons_row);

if (settings.settings_schema.has_key("animated-icons")) {
var animated_icons_row = new SwitchRow(_("Animated Icons"), _("Play short motions in app and desktop icons"), settings.get_boolean("animated-icons"));
animated_icons_row.switch_btn.notify["active"].connect(() => {
settings.set_boolean("animated-icons", animated_icons_row.switch_btn.active);
});
app_group.add_row(animated_icons_row);
}

var panel_group = new PreferencesGroup(_("Top Panel"));
var battery_pct_row = new SwitchRow(_("Show Battery Percentage"), _("Display the charge percentage next to the battery icon"), settings.get_boolean("show-battery-percentage"));
battery_pct_row.switch_btn.notify["active"].connect(() => {
Expand Down
1 change: 1 addition & 0 deletions tests/dev.sinty.desktop.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<key name="wallpaper-rotation-min-height" type="i"><range min="1" max="16384"/><default>720</default></key>
<key name="wallpaper-rotation-match-aspect" type="b"><default>false</default></key>
<key name="wallpaper-rotation-favor-favorites" type="b"><default>true</default></key>
<key name="animated-icons" type="b"><default>true</default></key>
<key name="form-factor" type="s">
<choices>
<choice value="auto"/>
Expand Down