[Xfce4-commits] [thunar-plugins/thunar-media-tags-plugin] 01/01: Show leading zeros for minutes

noreply at xfce.org noreply at xfce.org
Wed Feb 11 16:08:14 CET 2015


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository thunar-plugins/thunar-media-tags-plugin.

commit 1768a06f731cadd6c8edc89cd24deee7d6845f43
Author: Thomas Lange <thomas-lange2 at gmx.de>
Date:   Sun Oct 6 16:37:46 2013 +0200

    Show leading zeros for minutes
    
    Signed-off-by: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
---
 thunar-plugin/audio-tags-page.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar-plugin/audio-tags-page.c b/thunar-plugin/audio-tags-page.c
index b5862f9..b697e69 100644
--- a/thunar-plugin/audio-tags-page.c
+++ b/thunar-plugin/audio-tags-page.c
@@ -990,7 +990,7 @@ audio_tags_page_info_activate (GtkAction *action,
 
   /* Retrieve audio information */
   properties = taglib_file_audioproperties (page->taglib_file);
-  length = g_strdup_printf (_("%d:%d Minutes"), taglib_audioproperties_length (properties) / 60, taglib_audioproperties_length (properties) % 60);
+  length = g_strdup_printf (_("%d:%02d Minutes"), taglib_audioproperties_length (properties) / 60, taglib_audioproperties_length (properties) % 60);
   bitrate = g_strdup_printf (_("%d KBit/s"), taglib_audioproperties_bitrate (properties));
   samplerate = g_strdup_printf (_("%d Hz"), taglib_audioproperties_samplerate (properties));
   channels = g_strdup_printf ("%d", taglib_audioproperties_channels (properties));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list