Progress widgets: Better typography

Use a small space before %.

https://bugzilla.gnome.org/show_bug.cgi?id=735192
This commit is contained in:
Matthias Clasen 2014-08-22 11:05:20 -04:00
parent e356841957
commit b3e1bb1654

View File

@ -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);