Timer: Always run transition

This commit is contained in:
Romain Vigier
2022-08-16 02:58:54 +02:00
parent c29ae81b17
commit d677812d95
5 changed files with 8 additions and 35 deletions
-3
View File
@@ -17,7 +17,6 @@ var SchedulePage = GObject.registerClass({
Template: 'resource:///org/gnome/shell/extensions/nightthemeswitcher/preferences/ui/SchedulePage.ui',
InternalChildren: [
'keyboard_shortcut_button',
'transition_switch',
'manual_time_source_switch',
'time_source_combo_row',
'schedule_sunrise_time_chooser',
@@ -30,8 +29,6 @@ var SchedulePage = GObject.registerClass({
const colorSettings = new Gio.Settings({ schema: 'org.gnome.settings-daemon.plugins.color' });
const locationSettings = new Gio.Settings({ schema: 'org.gnome.system.location' });
settings.bind('transition', this._transition_switch, 'active', Gio.SettingsBindFlags.DEFAULT);
settings.bind('manual-time-source', this._manual_time_source_switch, 'active', Gio.SettingsBindFlags.DEFAULT);
const choiceFilter = new Gtk.BoolFilter({ expression: Gtk.PropertyExpression.new(DropDownChoice, null, 'enabled') });