[vte] app: Fix locale setting



commit 9a400d42b230fc798b17836bc2d9c2bd60ac5c4f
Author: Christian Persch <chpe gnome org>
Date:   Thu Jan 14 17:05:35 2016 +0100

    app: Fix locale setting

 src/app.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index b8c93c4..77bd1dc 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -1074,6 +1074,8 @@ class App : Gtk.Application
 
   public static int main(string[] argv)
   {
+    Intl.setlocale (LocaleCategory.ALL, "");
+
     if (Environment.get_variable("VTE_CJK_WIDTH") != null) {
       printerr("VTE_CJK_WIDTH is not supported anymore, use --cjk-width instead\n");
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]