about summary refs log tree commit diff
path: root/src/gtk/preferences_window.ui
diff options
context:
space:
mode:
authorRicky Kresslein <ricky@unobserved.io>2023-10-15 11:01:39 +0200
committerRicky Kresslein <ricky@unobserved.io>2023-10-15 11:01:39 +0200
commit17c269b9d51850e09087653f24e02825fd2079f3 (patch)
treea8ddf58d173ca0b8c945957ae9ad1701f4e125ae /src/gtk/preferences_window.ui
parent5a21b2528e30706cba939fd38102cafa5100c783 (diff)
downloadFurtherance-17c269b9d51850e09087653f24e02825fd2079f3.tar.zst
Add preference to toggle autocomplete
Diffstat (limited to 'src/gtk/preferences_window.ui')
-rw-r--r--src/gtk/preferences_window.ui20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui
index 14ecaac..a1192ac 100644
--- a/src/gtk/preferences_window.ui
+++ b/src/gtk/preferences_window.ui
@@ -141,7 +141,7 @@
         <property name="icon_name">view-list-symbolic</property>
         <property name="title" translatable="yes" context="A page title of the preferences dialog">Tasks</property>
         <child>
-          <object class="AdwPreferencesGroup" id="task_group">
+          <object class="AdwPreferencesGroup" id="task_list_group">
             <property name="title" translatable="yes">Task List</property>
             <property name="visible">True</property>
             <child>
@@ -225,6 +225,24 @@
             </child>
           </object>
         </child>
+        <child>
+          <object class="AdwPreferencesGroup" id="task_input_group">
+            <property name="title" translatable="yes">Task Input</property>
+            <property name="visible">True</property>
+            <child>
+              <object class="AdwActionRow">
+                <property name="title" translatable="yes">_Autocomplete</property>
+                <property name="use_underline">True</property>
+                <property name="activatable_widget">autocomplete_switch</property>
+                <child>
+                  <object class="GtkSwitch" id="autocomplete_switch">
+                    <property name="valign">center</property>
+                  </object>
+                </child>
+              </object>
+            </child>
+          </object>
+        </child>
       </object>
     </child>
     <child>