[X2go-Commits] pyhoca-gui.git - build-main (branch) updated: 0.2.0.2

X2Go dev team git-admin at x2go.org
Thu Jul 12 21:45:45 CEST 2012


The branch, build-main has been updated
       via  701b63f78215a2c6a75cbe2e1c10a9a220a23a01 (commit)
       via  a53bc4370cb348d35fcc06e8710397ea9983f579 (commit)
       via  123028d8ae1b24d27874760bd5dbefd0fca2ba08 (commit)
       via  002bd87ff82e3896fb3753da08ffae4f4f7803b5 (commit)
       via  4c4ad0c0754ab33ebfc0005c8fcb3ca3078a3575 (commit)
      from  01ce60e2b2b659463f7c603dcf7be49bdefbdb8a (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               |   12 ++++++++++++
 pyhoca/wxgui/__init__.py       |    2 +-
 pyhoca/wxgui/logon.py          |    3 ++-
 pyhoca/wxgui/profilemanager.py |    9 +++------
 4 files changed, 18 insertions(+), 8 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index f1ccd86..4a03674 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+pyhoca-gui (0.2.0.2-0~x2go1) unstable; urgency=low
+
+  * New upstream version (0.2.0.2):
+    - Allow modifications of session icon and shared folder tab while
+      a session profile is connected.
+    - Allow SSH ports less than 22 in session profile manager. SSH ports
+      below port 22 is not that much of a common practice, but it eases
+      keyboard input in the corresponding wx widgets.
+    - Avoid KeyError in logon window.
+
+ -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Thu, 12 Jul 2012 21:43:33 +0200
+
 pyhoca-gui (0.2.0.1-0~x2go1) unstable; urgency=low
 
   * New upstream version (0.2.0.1):
diff --git a/pyhoca/wxgui/__init__.py b/pyhoca/wxgui/__init__.py
index 0a61762..411c05d 100644
--- a/pyhoca/wxgui/__init__.py
+++ b/pyhoca/wxgui/__init__.py
@@ -18,6 +18,6 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
-__VERSION__ = '0.2.0.1'
+__VERSION__ = '0.2.0.2'
 
 from frontend import *
diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py
index 07e8707..e5ba605 100644
--- a/pyhoca/wxgui/logon.py
+++ b/pyhoca/wxgui/logon.py
@@ -429,7 +429,8 @@ class PyHocaGUI_DialogBoxPassword(wx.Dialog):
         if self._PyHocaGUI._X2goClient__is_session_connected(session_uuid):
             self._PyHocaGUI._post_authenticate(evt, session_uuid)
         self.sshproxy_started = False
-        del self._PyHocaGUI._logon_windows[self.current_profile_name]
+        try: del self._PyHocaGUI._logon_windows[self.current_profile_name]
+        except KeyError: pass
 
         self.Close()
         self.Destroy()
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index ea5f823..2ff1987 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -225,7 +225,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         self.HostLabel = wx.StaticText(self.tab_Connection, -1, _(u"Host")+':')
         self.Host = wx.TextCtrl(self.tab_Connection, -1, "", size=wx.Size(200,20))
         self.SSHPortLabel = wx.StaticText(self.tab_Connection, -1, _(u"Port")+':')
-        self.SSHPort = wx.SpinCtrl(self.tab_Connection, -1, "0", min=22, max=65534)
+        self.SSHPort = wx.SpinCtrl(self.tab_Connection, -1, "0", min=1, max=65534)
         self.SSHKeyFileLabel = wx.StaticText(self.tab_Connection, -1, _(u"RSA/DSA private key")+':')
         self.SSHKeyFile = wx.TextCtrl(self.tab_Connection, -1, style=wx.TE_PROCESS_ENTER)
         self.SSHKeyFileBrowseButton = wx.BitmapButton(self.tab_Connection, -1, wx.Bitmap('%s/PyHoca/16x16/system-search.png' % _icons_location, wx.BITMAP_TYPE_ANY), size=wx.Size(self._textfield_height,self._textfield_height), )
@@ -239,10 +239,10 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         self.SSHProxyHost = wx.TextCtrl(self.tab_Connection, -1, "", size=wx.Size(80,20))
         self.SSHProxyTunnelLabel = wx.StaticText(self.tab_Connection, -1, _(u"SSH Proxy Tunnel")+':')
         self.SSHProxyTunnelFromHost = wx.TextCtrl(self.tab_Connection, -1, "", size=wx.Size(200,20))
-        self.SSHProxyTunnelFromPort = wx.SpinCtrl(self.tab_Connection, -1, "0", min=22, max=65534)
+        self.SSHProxyTunnelFromPort = wx.SpinCtrl(self.tab_Connection, -1, "0", min=1, max=65534)
         self.SSHProxyTunnelBetweenLabel = wx.StaticText(self.tab_Connection, -1, " -> ")
         self.SSHProxyTunnelToHost = wx.TextCtrl(self.tab_Connection, -1, "", size=wx.Size(200,20))
-        self.SSHProxyTunnelToPort = wx.SpinCtrl(self.tab_Connection, -1, "0", min=22, max=65534)
+        self.SSHProxyTunnelToPort = wx.SpinCtrl(self.tab_Connection, -1, "0", min=1, max=65534)
 
         self.LinkSpeed = wx.Slider(self.tab_Connection, -1, 0, 0, 4)
         self.ModemLabel = wx.StaticText(self.tab_Connection, -1, "|\n "+_(u"Modem"), style=wx.ALIGN_CENTRE)
@@ -1116,8 +1116,6 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
             self.staticbox_Profile.Enable(False)
             self.ProfileNameLabel.Enable(False)
             self.ProfileName.Enable(False)
-            self.IconButton.Enable(False)
-            self.IconButtonLabel.Enable(False)
             self.HostLabel.Enable(False)
             self.Host.Enable(False)
             self.UserNameLabel.Enable(False)
@@ -1141,7 +1139,6 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
             self.SSHProxyTunnelBetweenLabel.Enable(False)
             self.SSHProxyTunnelToHost.Enable(False)
             self.SSHProxyTunnelToPort.Enable(False)
-            self.tab_SharedFilesAndFolders.Enable(False)
 
     def __update_from_screen(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