about summary refs log tree commit diff
path: root/src/ui/preferences_window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/preferences_window.rs')
-rw-r--r--src/ui/preferences_window.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ui/preferences_window.rs b/src/ui/preferences_window.rs
index 301250b..756e3ad 100644
--- a/src/ui/preferences_window.rs
+++ b/src/ui/preferences_window.rs
@@ -46,7 +46,7 @@ mod imp {
         pub notify_of_idle_spin: TemplateChild<gtk::SpinButton>,
 
         #[template_child]
-        pub task_group: TemplateChild<adw::PreferencesGroup>,
+        pub task_list_group: TemplateChild<adw::PreferencesGroup>,
         #[template_child]
         pub limit_tasks_expander: TemplateChild<adw::ExpanderRow>,
         #[template_child]
@@ -61,6 +61,11 @@ mod imp {
         pub show_tags_switch: TemplateChild<gtk::Switch>,
 
         #[template_child]
+        pub task_input_group: TemplateChild<adw::PreferencesGroup>,
+        #[template_child]
+        pub autocomplete_switch: TemplateChild<gtk::Switch>,
+
+        #[template_child]
         pub timer_group: TemplateChild<adw::PreferencesGroup>,
         #[template_child]
         pub pomodoro_expander: TemplateChild<adw::ExpanderRow>,
@@ -179,6 +184,8 @@ impl FurPreferencesWindow {
 
         settings_manager::bind_property("show-tags", &*imp.show_tags_switch, "active");
 
+        settings_manager::bind_property("autocomplete", &*imp.autocomplete_switch, "active");
+
         settings_manager::bind_property("pomodoro", &*imp.pomodoro_expander, "enable-expansion");
 
         settings_manager::bind_property("pomodoro-time", &*imp.pomodoro_spin, "value");