diff options
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/indicator-power.c | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 83d7278..0000000 --- a/AUTHORS +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by Makefile. Do not edit. - diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 83d7278..0000000 --- a/ChangeLog +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by Makefile. Do not edit. - diff --git a/src/indicator-power.c b/src/indicator-power.c index e43616e..09d2081 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -169,7 +169,7 @@ get_timestring (guint64 time_secs, if (minutes < 60) { - *short_timestring = g_strdup_printf ("0:%i", minutes); + *short_timestring = g_strdup_printf ("0:%.2i", minutes); *detailed_timestring = g_strdup_printf (ngettext ("%i minute", "%i minutes", minutes), minutes); @@ -179,7 +179,7 @@ get_timestring (guint64 time_secs, hours = minutes / 60; minutes = minutes % 60; - *short_timestring = g_strdup_printf ("%i:%i", hours, minutes); + *short_timestring = g_strdup_printf ("%i:%.2i", hours, minutes); if (minutes == 0) { |