[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 25c9495fbb917b647f06d9a9ff222efa8d3cbbd7
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:21:04 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
via 25c9495fbb917b647f06d9a9ff222efa8d3cbbd7 (commit)
from 01e64856797d07eeca2cb2fe2e3995a28aac9be5 (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:
pyhoca-gui | 2 +-
pyhoca/wxgui/frontend.py | 1 -
pyhoca/wxgui/profilemanager.py | 5 +++++
3 files changed, 6 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index edf2f35..3f35b27 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -283,7 +283,7 @@ def main():
lang = gettext.translation('pyhoca-gui', localedir=locale_basepath, languages=[args.lang], )
else:
lang = gettext.translation('pyhoca-gui', localedir=locale_basepath, languages=['en'], )
- lang.install()
+ lang.install(unicode=True)
else:
gettext.install('pyhoca-gui', localedir=locale_basepath, unicode=True)
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 299aa6c..26dda66 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -63,7 +63,6 @@ import basepath
wx.SetDefaultPyEncoding("utf-8")
-
class PyHocaGUI(wx.App, x2go.X2goClient):
def __init__(self, args, logger, liblogger,
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 017a4e0..1e65e8e 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -22,6 +22,9 @@ import wx
import os
import copy
+import sys
+import locale
+
import x2go.log as log
import x2go.utils as utils
from x2go import X2GOCLIENT_OS
@@ -1314,6 +1317,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
if self.action == 'ADD':
self.profile_id = self.session_profiles.add_profile()
+ print self.profile_id
for k in self.profile_config.keys():
self.session_profiles.update_value(self.profile_id, k, self.profile_config[k])
@@ -1321,6 +1325,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
self.session_profiles.write()
if self.action == 'ADD':
+ print
self._PyHocaGUI.notifier.send(title=_(u'%s - profile added') % self.profile_config['name'],
text=_(u'A new session profile has been added.'),
icon='profile_add',
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