about summary refs log tree commit diff
path: root/src/gtk
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2022-06-07 14:39:24 +0300
committerRicky Kresslein <rk@lakoliu.com>2022-06-07 14:39:24 +0300
commitaf3f7b2473f1206f1a9ecb429084670cc4661923 (patch)
tree2bf5e95422d66d7295b5a099f689fddb88f30af5 /src/gtk
parent374bd69f6d5aa46ce9b4d7f4f2acb871b1d2426b (diff)
downloadFurtherance-af3f7b2473f1206f1a9ecb429084670cc4661923.tar.zst
Button to restart tasks
Diffstat (limited to 'src/gtk')
-rwxr-xr-xsrc/gtk/preferences_window.ui1
-rwxr-xr-xsrc/gtk/task_row.ui26
2 files changed, 19 insertions, 8 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui
index be331b7..e6fd65b 100755
--- a/src/gtk/preferences_window.ui
+++ b/src/gtk/preferences_window.ui
@@ -210,3 +210,4 @@
     </child>
   </template>
 </interface>
+
diff --git a/src/gtk/task_row.ui b/src/gtk/task_row.ui
index f5de3a5..7184bc3 100755
--- a/src/gtk/task_row.ui
+++ b/src/gtk/task_row.ui
@@ -4,8 +4,8 @@
     <child>
       <object class="GtkBox" id="row_box">
         <property name="orientation">horizontal</property>
-        <property name="margin_top">10</property>
-        <property name="margin_bottom">10</property>
+        <property name="margin_top">5</property>
+        <property name="margin_bottom">5</property>
         <property name="margin_end">12</property>
         <property name="margin_start">12</property>
         <property name="hexpand">True</property>
@@ -40,13 +40,23 @@
           </object>
         </child>
         <child>
-          <object class="GtkLabel" id="total_time_label">
+          <object class="GtkBox">
             <property name="halign">end</property>
-            <property name="label" translatable="yes">Time</property>
-            <property name="single_line_mode">True</property>
-            <style>
-              <class name="numeric"/>
-            </style>
+            <child>
+              <object class="GtkLabel" id="total_time_label">
+                <property name="label" translatable="yes">Time</property>
+                <property name="single_line_mode">True</property>
+                <style>
+                  <class name="numeric"/>
+                </style>
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="restart_task_btn">
+                <property name="icon-name">view-refresh-symbolic</property>
+                <property name="has-frame">false</property>
+              </object>
+            </child>
           </object>
         </child>
       </object>