playback/player: gtk-play: fix elapsed and remain time label
If elapsed or remain time is greater than 60 mins then add hours in label text.
This commit is contained in:
parent
a8bb7e0199
commit
a18cefb73c
@ -1526,7 +1526,7 @@ update_position_label (GtkLabel * label, guint64 seconds)
|
||||
seconds -= mins * 60;
|
||||
|
||||
if (hrs)
|
||||
data = g_strdup_printf ("%02d:%02d", hrs, mins);
|
||||
data = g_strdup_printf ("%d:%02d:%02ld", hrs, mins, seconds);
|
||||
else
|
||||
data = g_strdup_printf ("%02d:%02ld", mins, seconds);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user