[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 77669b61d58820a40b01fd1754f4d6bfbe7b2c47

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:54:40 CEST 2013


The branch, twofactorauth has been updated
       via  77669b61d58820a40b01fd1754f4d6bfbe7b2c47 (commit)
      from  07062a05a1d32215a34fb7a3fef557780527a67a (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/wxgui/frontend.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 3183908..9201c1a 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -135,7 +135,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
         if x2go.X2GOCLIENT_OS == 'Windows':
             _x2goclient_kwargs['start_xserver'] = self.args.start_xserver
             _x2goclient_kwargs['start_pulseaudio'] = self.args.start_pulseaudio
-
+            
         if x2go.X2GOCLIENT_OS == 'Windows' and self.args.start_pulseaudio and os.environ.has_key('PYHOCAGUI_DEVELOPMENT') and os.environ['PYHOCAGUI_DEVELOPMENT'] == '1':
             _x2goclient_kwargs['pulseaudio_installdir'] = os.path.normpath('../../contrib/pulseaudio-mswin/pulseaudio-0.9.6')
         x2go.X2goClient.__init__(self, **_x2goclient_kwargs)
@@ -533,6 +533,8 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
         self.notifier.send(_(u'%s - session warning') % profile_name, _(u'Reverse TCP port forwarding request for session %s to server port %s has been denied by the X2go server. This is a common issue with SSH, it might help to restart the X2go server\'s SSH daemon.') % (session_name, server_port), icon='session_warning', timeout=10000)
     def HOOK_forwarding_tunnel_setup_failed(self, profile_name='UNKNOWN', session_name='UNKNOWN', chain_host='UNKNOWN', chain_port=0):
         self.notifier.send(_(u'%s - session failure') % profile_name, _(u'Forwarding tunnel request to [%s]:%s for session %s was denied by remote X2go/SSH server. Session startup failed.') % (chain_host, chain_port, session_name), icon='session_error', timeout=10000)
+    def HOOK_pulseaudio_not_supported_in_RDPsession(self):
+        self.notifier.send(_(u'%s - audio warning') % self.appname, _(u'The X2go PulseAudio system is not available within Remote Desktop sessions.'), icon='audio_error', timeout=10000)
     def HOOK_pulseaudio_server_startup_failed(self):
         self.notifier.send(_(u'%s - audio error') % self.appname, _(u'The X2go PulseAudio system could not be started.'), icon='audio_error', timeout=10000)
     def HOOK_pulseaudio_server_died(self):


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