summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererprogress.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-08-22 11:05:20 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-09-29 23:05:22 -0400
commitb3e1bb165457b90573aab6b635599de6ffcb4682 (patch)
tree2c17574da1c87da895d5dab5fcf610d65cd4154a /gtk/gtkcellrendererprogress.c
parente3568419579af7a8682dd7e4065a47be6e6a370e (diff)
downloadgtk+-b3e1bb165457b90573aab6b635599de6ffcb4682.tar.gz
Progress widgets: Better typography
Use a small space before %. https://bugzilla.gnome.org/show_bug.cgi?id=735192
Diffstat (limited to 'gtk/gtkcellrendererprogress.c')
-rw-r--r--gtk/gtkcellrendererprogress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c
index f8cb51d7fb..ec5aa31397 100644
--- a/gtk/gtkcellrendererprogress.c
+++ b/gtk/gtkcellrendererprogress.c
@@ -373,7 +373,7 @@ recompute_label (GtkCellRendererProgress *cellprogress)
if (priv->text)
label = g_strdup (priv->text);
else if (priv->pulse < 0)
- label = g_strdup_printf (C_("progress bar label", "%d %%"), priv->value);
+ label = g_strdup_printf (C_("progress bar label", "%d %%"), priv->value);
else
label = NULL;
@@ -466,7 +466,7 @@ gtk_cell_renderer_progress_get_size (GtkCellRenderer *cell,
if (priv->min_w < 0)
{
- text = g_strdup_printf (C_("progress bar label", "%d %%"), 100);
+ text = g_strdup_printf (C_("progress bar label", "%d %%"), 100);
compute_dimensions (cell, widget, text,
&priv->min_w,
&priv->min_h);