diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-04-28 19:18:15 +0300 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-04-28 19:18:15 +0300 |
commit | 8ee461ce5c9cdd117b0e4b9f8dfec0a388d37f29 (patch) | |
tree | 43d3d25d80cc00f2855a3631faced64da1f440ab /src/gtk | |
parent | 794cf5b7025d72b9a2b61fc6f5df753363d6060a (diff) | |
download | Furtherance-8ee461ce5c9cdd117b0e4b9f8dfec0a388d37f29.tar.zst |
Add Pomodoro timer
Diffstat (limited to 'src/gtk')
-rwxr-xr-x | src/gtk/preferences_window.ui | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui index b3b12a8..58296bb 100755 --- a/src/gtk/preferences_window.ui +++ b/src/gtk/preferences_window.ui @@ -128,7 +128,6 @@ </child> </object> </child> - <child> <object class="AdwActionRow"> <property name="title" translatable="yes">Show tags</property> @@ -142,7 +141,41 @@ </child> </object> </child> - + </object> + </child> + <child> + <object class="AdwPreferencesGroup" id="timer_group"> + <property name="title" translatable="yes">Timer</property> + <property name="visible">True</property> + <child> + <object class="AdwExpanderRow" id="pomodoro_expander"> + <property name="title" translatable="yes">_Pomodoro</property> + <property name="subtitle" translatable="yes">Timer counts down instead of up.</property> + <property name="show_enable_switch">True</property> + <property name="use_underline">True</property> + <child> + <object class="AdwActionRow"> + <property name="title" translatable="yes">Interval</property> + <property name="subtitle" translatable="yes">Timer start time in minutes</property> + <property name="use_underline">True</property> + <child> + <object class="GtkSpinButton" id="pomodoro_spin"> + <property name="valign">center</property> + <property name="adjustment"> + <object class="GtkAdjustment"> + <property name="upper">999</property> + <property name="lower">1</property> + <property name="step_increment">1</property> + <property name="page_increment">15</property> + </object> + </property> + <property name="numeric">True</property> + </object> + </child> + </object> + </child> + </object> + </child> </object> </child> </object> |