[geany/geany-plugins] fcacc7: pohelper: Improve display of stats percentage

Colomban Wendling git-noreply at xxxxx
Mon Feb 16 22:59:18 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 22 Apr 2014 16:16:15 UTC
Commit:      fcacc7e7db6ed8cf8aa1391e0cf0ca709933585b
             https://github.com/geany/geany-plugins/commit/fcacc7e7db6ed8cf8aa1391e0cf0ca709933585b

Log Message:
-----------
pohelper: Improve display of stats percentage


Modified Paths:
--------------
    pohelper/src/gph-plugin.c

Modified: pohelper/src/gph-plugin.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1290,7 +1290,7 @@ show_stats_dialog (guint  all,
         if (! obj__) {                                                         \
           g_warning ("Object \"%s\" is missing from the UI definition", (id)); \
         } else {                                                               \
-          gchar *text__ = g_strdup_printf (_("%u (%.1f%%)"),                   \
+          gchar *text__ = g_strdup_printf (_("%u (%.3g%%)"),                   \
                                            (value),                            \
                                            all ? ((value) * 100.0 / all) : 0); \
                                                                                \



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list