[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.2.0.4-55-gab2b0f5

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


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  ab2b0f57b5fb505636cf4c94892c07bab49a8040 (commit)
      from  f93c37e1cbbdf9727a2480e8b037eab9ed5fa038 (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/profilemanager.py |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 499af8f..4b527f2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,8 @@ pyhoca-gui (0.2.1.0-0~x2go1) UNRELEASED; urgency=low
     - Rename session type XFCE4 to XFCE (using an unversioned session type name).
     - Make pub app session startup more robust.
     - Allow autologin and SSH key file at the same time.
+    - Scale profile manager differently on Windows and Linux (Windows needs
+      a slightly larger window).
   * /debian/control:
     + Maintainer change in package: X2Go Developers
       <x2go-dev at lists.berlios.de>.
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 3f6e22d..dfe5e84 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -820,7 +820,10 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
 
         #self.SetSize(self.GetBestSize() + self.X2goTabs.GetBestSize())
 
-        self.SetSize((max(max1_x, max2_x, max3_x, max4_x, max5_x) * 1.05, max(max1_y, max2_y, max3_y, max4_y, max5_y) + 50))
+        if X2GOCLIENT_OS == "Windows":
+            self.SetSize((max(max1_x, max2_x, max3_x, max4_x, max5_x) * 1.05, max(max1_y, max2_y, max3_y, max4_y, max5_y) * 1.10 + 50))
+        else:
+            self.SetSize((max(max1_x, max2_x, max3_x, max4_x, max5_x) * 1.05, max(max1_y, max2_y, max3_y, max4_y, max5_y) + 50))
         self.SetAutoLayout(True)
         self.Layout()
         self.CentreOnScreen()


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