diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-05-20 12:26:53 +0300 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-05-20 12:26:53 +0300 |
commit | 3942e6cab7a0883220d78068dc47ddf81760a90e (patch) | |
tree | d8ea83980739befb888ca827d6a9952fc4e9d478 /src/gtk/preferences_window.ui | |
parent | 1dd125d02f5d66643e39fe2da636d036ed733904 (diff) | |
download | Furtherance-3942e6cab7a0883220d78068dc47ddf81760a90e.tar.zst |
Autosave (Issue #45)
Diffstat (limited to 'src/gtk/preferences_window.ui')
-rwxr-xr-x | src/gtk/preferences_window.ui | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui index cda3534..be331b7 100755 --- a/src/gtk/preferences_window.ui +++ b/src/gtk/preferences_window.ui @@ -176,6 +176,34 @@ </child> </object> </child> + <child> + <object class="AdwExpanderRow" id="autosave_expander"> + <property name="title" translatable="yes">_Autosave</property> + <property name="subtitle" translatable="yes">Prevent losing tracked time due to improper shutdown</property> + <property name="show_enable_switch">True</property> + <property name="use_underline">True</property> + <child> + <object class="AdwActionRow"> + <property name="title" translatable="yes">Autosave every X _minutes</property> + <property name="use_underline">True</property> + <child> + <object class="GtkSpinButton" id="autosave_spin"> + <property name="valign">center</property> + <property name="adjustment"> + <object class="GtkAdjustment"> + <property name="upper">60</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> |