[gnome-clocks/bilelmoussaoui/timer-fixes] Stopwatch/Timer: Don't use space btw :



commit 9bd8c9c510a36e6fe481604be14112b791beebf4
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Mon Feb 3 01:36:18 2020 +0100

    Stopwatch/Timer: Don't use space btw :

 data/ui/timer_row.ui | 2 +-
 src/stopwatch.vala   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/timer_row.ui b/data/ui/timer_row.ui
index 985afec..ee547ab 100644
--- a/data/ui/timer_row.ui
+++ b/data/ui/timer_row.ui
@@ -18,7 +18,7 @@
           <object class="GtkLabel" id="countdown_label">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="label">00∶00∶00</property>
+            <property name="label">00 ∶ 00 ∶ 00</property>
             <attributes>
               <attribute name="font-features" value="tnum=1"/>
             </attributes>
diff --git a/src/stopwatch.vala b/src/stopwatch.vala
index 86787f1..7a2077c 100644
--- a/src/stopwatch.vala
+++ b/src/stopwatch.vala
@@ -27,7 +27,7 @@ private string render_duration (double duration) {
     double r;
     Utils.time_to_hms (Math.floor (duration * 100) / 100, out h, out m, out s, out r);
     int cs = (int) (r * 10);
-    return "%02i\u200E ∶ %02i\u200E ∶ %02i. %i".printf (h.abs (), m.abs (), s.abs (), cs.abs ());
+    return "%02i\u200E ∶ %02i\u200E ∶ %02i. %i".printf (h.abs (), m.abs (), s.abs (), cs.abs ());
 }
 
 public class Lap : GLib.Object {
@@ -91,7 +91,7 @@ private class LapsRow : Gtk.ListBoxRow {
                 sign = "-";
             }
 
-            return "%s %s".printf (sign, delta_label);
+            return "%s %s".printf (sign, delta_label);
         }
         return null;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]