[gnome-calculator] Show thousands separators in unit converter (#102)
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Show thousands separators in unit converter (#102)
- Date: Tue, 26 Mar 2019 23:42:54 +0000 (UTC)
commit 937d69240ffc5df2f97cd9f91504ec9b5d6a93ff
Author: Robert Roth <robert roth off gmail com>
Date: Wed Mar 27 01:42:34 2019 +0200
Show thousands separators in unit converter (#102)
lib/unit.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/lib/unit.vala b/lib/unit.vala
index e798d491..c4494b0f 100644
--- a/lib/unit.vala
+++ b/lib/unit.vala
@@ -347,6 +347,7 @@ public class Unit : Object
{
serializer = new Serializer (DisplayFormat.AUTOMATIC, 10, 2);
serializer.set_leading_digits (6);
+ serializer.set_show_thousands_separators (true);
_name = name;
_display_name = display_name;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]