diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-03-03 10:02:01 +0100 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-03-03 10:02:01 +0100 |
commit | 0f05a52d429c41b538fa3b362cad3a54db04e5cd (patch) | |
tree | 2c7873ffc54a771b15cf21f96b4f8dd5fa3e1a6c /src/gtk | |
parent | 8ea50db6fa4c36383a375db2f1e9ecb9a771d8c2 (diff) | |
download | Furtherance-0f05a52d429c41b538fa3b362cad3a54db04e5cd.tar.zst |
Added 'limit days shown' setting
Diffstat (limited to 'src/gtk')
-rwxr-xr-x | src/gtk/preferences_window.ui | 41 |
1 files changed, 38 insertions, 3 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui index 0ac2337..e6de99a 100755 --- a/src/gtk/preferences_window.ui +++ b/src/gtk/preferences_window.ui @@ -11,7 +11,7 @@ <property name="visible">True</property> <child> <object class="AdwActionRow"> - <property name="title" translatable="yes">_Dark Theme</property> + <property name="title" translatable="yes">_Dark theme</property> <property name="use_underline">True</property> <property name="activatable_widget">dark_theme_switch</property> <child> @@ -29,13 +29,13 @@ <property name="visible">True</property> <child> <object class="AdwExpanderRow" id="notify_of_idle_expander"> - <property name="title" translatable="yes">Notify of Idle</property> + <property name="title" translatable="yes">Notify of idle</property> <property name="subtitle" translatable="yes">(Gnome only)</property> <property name="show_enable_switch">True</property> <property name="use_underline">True</property> <child> <object class="AdwActionRow"> - <property name="title" translatable="yes">_Minutes to Idle</property> + <property name="title" translatable="yes">_Minutes to idle</property> <property name="subtitle" translatable="yes">Number of miniutes before the user is considered idle</property> <property name="use_underline">True</property> <child> @@ -58,6 +58,41 @@ </child> </object> </child> + <child> + <object class="AdwPreferencesGroup" id="task_group"> + <property name="title" translatable="yes">Task List</property> + <property name="visible">True</property> + <child> + <object class="AdwExpanderRow" id="limit_tasks_expander"> + <property name="title" translatable="yes">Limit tasks shown</property> + <property name="subtitle" translatable="yes">Only show X number of days in the saved tasks list</property> + <property name="show_enable_switch">True</property> + <property name="use_underline">True</property> + <child> + <object class="AdwActionRow"> + <property name="title" translatable="yes">_Days ago</property> + <property name="subtitle" translatable="yes">Number of days to display in the list</property> + <property name="use_underline">True</property> + <child> + <object class="GtkSpinButton" id="limit_days_spin"> + <property name="valign">center</property> + <property name="adjustment"> + <object class="GtkAdjustment"> + <property name="upper">365</property> + <property name="lower">1</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> + </property> + <property name="numeric">True</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> </object> </child> </template> |