From fa6b07634a59575d5eebc1636495a701c66a8756 Mon Sep 17 00:00:00 2001 From: Romain Vigier Date: Sat, 19 Feb 2022 11:46:30 +0100 Subject: [PATCH] Fix initial time source row sensitivity --- src/preferences/SchedulePage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/preferences/SchedulePage.js b/src/preferences/SchedulePage.js index 602b7fe..ed2a1b5 100644 --- a/src/preferences/SchedulePage.js +++ b/src/preferences/SchedulePage.js @@ -63,6 +63,7 @@ var SchedulePage = GObject.registerClass({ filter: choiceFilter, }); this._time_source_combo_row.expression = Gtk.PropertyExpression.new(DropDownChoice, null, 'title'); + this._time_source_combo_row.sensitive = settings.get_boolean('manual-time-source'); this._time_source_combo_row.connect('notify::selected-item', () => settings.set_string('time-source', this._time_source_combo_row.selected_item.id)); const updateTimeSourceComboRowSelected = () => { this._time_source_combo_row.selected = utils.findItemPositionInModel(this._time_source_combo_row.model, item => item.id === settings.get_string('time-source'));