about summary refs log tree commit diff
path: root/src/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk')
-rw-r--r--src/gtk/preferences_window.ui21
-rw-r--r--src/gtk/report.ui4
2 files changed, 23 insertions, 2 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui
index 3b862c0..e916883 100644
--- a/src/gtk/preferences_window.ui
+++ b/src/gtk/preferences_window.ui
@@ -218,7 +218,26 @@
                 </child>
               </object>
             </child>
-
+          </object>
+        </child>
+        <child>
+          <object class="AdwPreferencesGroup" id="reports_group">
+            <property name="title" translatable="yes">Reports</property>
+            <property name="visible">True</property>
+            <child>
+              <object class="AdwComboRow" id="week_start_combo">
+                <property name="title" translatable="yes">Week starts on</property>
+                <property name="use_underline">True</property>
+                <property name="model">
+                  <object class="GtkStringList">
+                    <items>
+                      <item translatable="yes">Monday</item>
+                      <item translatable="yes">Sunday</item>
+                    </items>
+                  </object>
+                </property>
+              </object>
+            </child>
           </object>
         </child>
         <child>
diff --git a/src/gtk/report.ui b/src/gtk/report.ui
index 92ae072..db4b651 100644
--- a/src/gtk/report.ui
+++ b/src/gtk/report.ui
@@ -30,7 +30,9 @@
             <object class="GtkComboBoxText" id="range_combo">
               <property name="halign">center</property>
                 <items>
-                  <item translatable="yes" id="week_item">Past week</item>
+                  <item translatable="yes" id="this_week_item">This Week</item>
+                  <item translatable="yes" id="last_week_item">Last Week</item>
+                  <item translatable="yes" id="week_item">Past 7 days</item>
                   <item translatable="yes" id="month_item">This month</item>
                   <item translatable="yes" id="30_days_item">Past 30 days</item>
                   <item translatable="yes" id="six_months_item">Past 180 days</item>