[X2Go-Commits] [pyhoca-gui] 05/10: Properly scale BrowseButton widgets (fixes buttons being too small).

git-admin at x2go.org git-admin at x2go.org
Tue Jul 23 21:53:29 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit a2e9edda7726feae24408c2b35a0a6364b89d7a4
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jul 23 18:33:40 2019 +0200

    Properly scale BrowseButton widgets (fixes buttons being too small).
---
 debian/changelog               | 1 +
 pyhoca/wxgui/profilemanager.py | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d0beffc..390ca45 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ pyhoca-gui (0.5.0.9-0x2go1) UNRELEASED; urgency=medium
       Gtk+ as it might know better what minimum width is needed. This resolves
       Gtk-CRITICAL: gtk_box_gadget_distribute: assertion 'size >= 0' failed in
       GtkSpinButton
+    - Properly scale BrowseButton widgets (fixes buttons being too small).
   * debian/control:
     + Drop python-notify alternative dependency, rely on the GTK-3 Notify
       GObject.
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 17cce55..9568c86 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -513,6 +513,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         self.SSHPort.SetMinSize((-1, -1))
         self.SSHKeyFileLabel.SetMinSize((-1, 16))
         self.SSHKeyFile.SetMinSize((220, self._textfield_height))
+        self.SSHKeyFileBrowseButton.SetMinSize((-1, -1))
         self.SSHProxyUserLabel.SetMinSize((-1, 16))
         self.SSHProxyUser.SetMinSize((220, self._textfield_height))
         self.SSHProxyHostLabel.SetMinSize((-1, 16))
@@ -520,6 +521,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         self.SSHProxyPortLabel.SetMinSize((-1, 16))
         self.SSHProxyPort.SetMinSize((-1, -1))
         self.SSHProxyKeyFile.SetMinSize((220, self._textfield_height))
+        self.SSHProxyKeyFileBrowseButton.SetMinSize((-1, -1))
         if X2GOCLIENT_OS == 'Windows':
             self.LinkSpeed.SetMinSize((425, self._textfield_height))
         else:
@@ -558,6 +560,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         self.SoundPort.SetMinSize((-1, -1))
         self.ClientSidePrinting.SetMinSize((-1, self._textfield_height))
         self.SharedFolderPath.SetMinSize((220, self._textfield_height))
+        self.SharedFolderPathBrowseButton.SetMinSize((-1, -1))
         self.SharedFoldersList.SetMinSize((-1, 90))
 
         self.ClientEncoding.SetMinSize((140, self._textfield_height))

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git


More information about the x2go-commits mailing list