[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.2.0.4-55-gab2b0f5

X2Go dev team git-admin at x2go.org
Mon Nov 5 21:16:44 CET 2012


The branch, master 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 -----------------------------------------------------------------
commit ab2b0f57b5fb505636cf4c94892c07bab49a8040
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Nov 5 21:16:26 2012 +0100

    Scale profile manager differently on Windows and Linux (Windows needs a slightly larger window).

-----------------------------------------------------------------------

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