about summary refs log tree commit diff
path: root/src/gtk
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2023-06-03 15:48:46 +0200
committerRicky Kresslein <rk@lakoliu.com>2023-06-03 15:48:46 +0200
commit3cbbabd4aa35342b36dce327794149f0c5704508 (patch)
tree3d128ef166b2aabfedffbc7a7ac7a26c3f854d10 /src/gtk
parent432362b9c3c028d7525fec0bdfbd3660355ea894 (diff)
downloadFurtherance-3cbbabd4aa35342b36dce327794149f0c5704508.tar.zst
#99: Inclusive total time
Diffstat (limited to 'src/gtk')
-rw-r--r--src/gtk/preferences_window.ui15
-rw-r--r--src/gtk/tasks_page.ui3
2 files changed, 18 insertions, 0 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui
index 168d614..3b862c0 100644
--- a/src/gtk/preferences_window.ui
+++ b/src/gtk/preferences_window.ui
@@ -204,6 +204,21 @@
                 </child>
               </object>
             </child>
+
+            <child>
+              <object class="AdwActionRow">
+                <property name="title" translatable="yes">Inclusive total time</property>
+                <property name="use_underline">True</property>
+                <property name="activatable_widget">inclusive_total_switch</property>
+                <property name="subtitle" translatable="yes">Today's total time includes the ongoing timer</property>
+                <child>
+                  <object class="GtkSwitch" id="inclusive_total_switch">
+                    <property name="valign">center</property>
+                  </object>
+                </child>
+              </object>
+            </child>
+
           </object>
         </child>
         <child>
diff --git a/src/gtk/tasks_page.ui b/src/gtk/tasks_page.ui
index dcd6513..6db6f92 100644
--- a/src/gtk/tasks_page.ui
+++ b/src/gtk/tasks_page.ui
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="FurTasksPage" parent="AdwPreferencesPage">
+      <style>
+        <class name="numeric"/>
+      </style>
   </template>
 </interface>