Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits:
f86fefe1 by wurstsalat at 2021-06-07T21:11:38+02:00
AudioWidget: Display minutes and seconds correctly
- - - - -
1 changed file:
- gajim/gtk/preview_audio.py
Changes:
=====================================
gajim/gtk/preview_audio.py
=====================================
@@ -143,8 +143,8 @@ def _format_audio_timestamp(_widget, ns):
minutes = seconds / 60
hours = minutes / 60
- i_seconds = int(seconds)
- i_minutes = int(minutes)
+ i_seconds = int(seconds) % 60
+ i_minutes = int(minutes) % 60
i_hours = int(hours)
if i_hours > 0:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/f86fefe1afdaae0eadbe612a3c5ee8bc0f321264
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/f86fefe1afdaae0eadbe612a3c5ee8bc0f321264
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits