1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

call-display: Display two digits for minutes

This matches the final design.
This commit is contained in:
Adrien Plazas 2018-07-27 09:45:06 +02:00
parent 509f4227d9
commit 152c89ea79
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ timeout_cb (CallsCallDisplay *self)
}
minutes = (guint)(elapsed / MINUTE);
g_string_append_printf (str, "%u:", minutes);
g_string_append_printf (str, "%02u:", minutes);
elapsed -= (minutes * MINUTE);
g_string_append_printf (str, "%02u", (guint)elapsed);

View file

@ -54,7 +54,7 @@
<object class="GtkLabel" id="time">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">0:00</property>
<property name="label" translatable="yes">00:00</property>
</object>
</child>
<child>