diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index ac641f3..3656864 100644 --- a/src/utils.c +++ b/src/utils.c @@ -59,7 +59,10 @@ cell_layout_pretty_print_uint (GtkCellLayout *layout, len = g_snprintf (buf + 40, 40, "%u", v); pretty_print_number (buf + 40, len, buf); - g_object_set (G_OBJECT (cell), "text", buf, NULL); + g_object_set (G_OBJECT (cell), + "text", buf, + "xalign", (gfloat) 1.0, + NULL); } void @@ -78,7 +81,10 @@ cell_layout_pretty_print_uint64 (GtkCellLayout *layout, len = g_snprintf (buf + 80, 80, "%" G_GUINT64_FORMAT, v); pretty_print_number (buf + 80, len, buf); - g_object_set (G_OBJECT (cell), "text", buf, NULL); + g_object_set (G_OBJECT (cell), + "text", buf, + "xalign", (gfloat) 1.0, + NULL); } void |