[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.10-97-ge78605c

X2Go dev team git-admin at x2go.org
Tue Aug 27 13:22:05 CEST 2013


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  e78605cd95d364854e42909d519303e3e769b371 (commit)
      from  d76502f0d36e30fc60abc8b33706ecac0e3fb51e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog         |    2 ++
 pyhoca/wxgui/frontend.py |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index b35a34c..df71477 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -58,6 +58,8 @@ pyhoca-gui (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
       type except SVGs works).
     - On exit only suspend running sessions we are associated with.
     - Provide icons for category submenus.
+    - Provide 'en' as default language if --lang has not been given on the
+      command line (MS Windows issue).
   * Depend on Python X2Go 0.1.2.0.
   * Install GNOME icons via dh_links.
   * Install X2Go icons with explicit install paths.
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 56c8e73..f028c23 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -85,7 +85,10 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
 
         self.args = args
         if x2go.defaults.X2GOCLIENT_OS == 'Windows':
-            self.lang = self.args.lang
+            if self.args.lang is not None:
+                self.lang = self.args.lang
+            else:
+                self.lang = 'en'
         else:
             self.lang = locale.getdefaultlocale()[0]
 


hooks/post-receive
-- 
pyhoca-gui.git (Python X2Go Client (wxPython GUI))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).




More information about the x2go-commits mailing list