Insert an LRM, to prevent -20 to come out as 20- in RTL locales. (#322571,
2005-11-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkscale.c (_gtk_scale_format_value): Insert an LRM, to prevent -20 to come out as 20- in RTL locales. (#322571, Tze'ela Hebron)
This commit is contained in:
committed by
Matthias Clasen
parent
bca63a5d33
commit
e608c86f0e
@@ -1,5 +1,8 @@
|
||||
2005-11-28 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkscale.c (_gtk_scale_format_value): Insert an LRM, to prevent
|
||||
-20 to come out as 20- in RTL locales. (#322571, Tze'ela Hebron)
|
||||
|
||||
* gtk/gtkaction.c (gtk_action_sync_button_stock_id)
|
||||
(connect_proxy): Buttons use the label property for stock ids. (#322565,
|
||||
Milosz Derezynski)
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
2005-11-28 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkscale.c (_gtk_scale_format_value): Insert an LRM, to prevent
|
||||
-20 to come out as 20- in RTL locales. (#322571, Tze'ela Hebron)
|
||||
|
||||
* gtk/gtkaction.c (gtk_action_sync_button_stock_id)
|
||||
(connect_proxy): Buttons use the label property for stock ids. (#322565,
|
||||
Milosz Derezynski)
|
||||
|
||||
@@ -646,8 +646,8 @@ _gtk_scale_format_value (GtkScale *scale,
|
||||
if (fmt)
|
||||
return fmt;
|
||||
else
|
||||
return g_strdup_printf ("%0.*f", scale->digits,
|
||||
value);
|
||||
/* insert a LRM, to prevent -20 to come out as 20- in RTL locales */
|
||||
return g_strdup_printf ("\342\200\216%0.*f", scale->digits, value);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user