[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.2-5-gb4d8418
X2go dev team
git-admin at x2go.org
Sun Jun 19 23:02:30 CEST 2011
The branch, master has been updated
via b4d8418982b78220c40ffd6e9231fd037d47a516 (commit)
from f77b4cb44d12122ad3d455b4baa106c285be5127 (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 -----------------------------------------------------------------
commit b4d8418982b78220c40ffd6e9231fd037d47a516
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sun Jun 19 23:02:58 2011 +0200
trying another approach for unicode fix
-----------------------------------------------------------------------
Summary of changes:
pyhoca/wxgui/notify.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/pyhoca/wxgui/notify.py b/pyhoca/wxgui/notify.py
index 3d2235d..6b0308d 100644
--- a/pyhoca/wxgui/notify.py
+++ b/pyhoca/wxgui/notify.py
@@ -85,7 +85,7 @@ class libnotify_NotifierPopup(object):
n.set_urgency(pynotify.URGENCY_NORMAL)
n.set_timeout(timeout)
- self._pyhoca_logger('[%s] %s' % (title, text), loglevel=log.loglevel_NOTICE)
+ self._pyhoca_logger('[%s] %s' % (title.decode(utils.get_encoding()), text.decode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
if not n.show():
raise PyHocaNotificationException('could not notify user')
@@ -171,7 +171,7 @@ class notificationmessage_NotifierPopup(object):
# wx.NotificationMessage class
pass
- self._pyhoca_logger('[%s] %s' % (title, text), loglevel=log.loglevel_NOTICE)
+ self._pyhoca_logger('[%s] %s' % (title.decode(utils.get_encoding()), text.decode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
def Close(self):
pass
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