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:
parent
509f4227d9
commit
152c89ea79
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue