diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-09-17 20:01:25 -0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-09-17 20:01:25 -0300 |
commit | 10771358cb57edd0cc7aa65edc05eba94305ff65 (patch) | |
tree | 066ecad74280bb4eaa116f71a5ec1287cc180d24 | |
parent | 582d7b5a98dab439efbbfca2c8a6479da69cee94 (diff) |
Add Andrey Esin as a contributor
-rw-r--r-- | hardinfo2/callbacks.c | 1 | ||||
-rw-r--r-- | hardinfo2/shell.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c index 87c29e2b..775475d9 100644 --- a/hardinfo2/callbacks.c +++ b/hardinfo2/callbacks.c @@ -195,6 +195,7 @@ void cb_about() "", "Contributors:", "Agney Lopes Roth Ferraz", + "Andrey Esin", "SCSI support by Pascal F. Martin", "", "Based on work by:", diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index e415f8ec..cf3b776d 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -988,7 +988,8 @@ static void update_progress() if (shell->_order_type == SHELL_ORDER_ASCENDING) cur = 100 - cur + maxp; - tmp = g_strdup_printf("%d", (int)floatval); + tmp = g_strdup_printf("%.2f", floatval); + tmp = strreplace(tmp, ",", '.'); gtk_tree_store_set(store, &iter, INFO_TREE_COL_PROGRESS, cur, INFO_TREE_COL_VALUE, tmp, -1); g_free(tmp); |