[Pkg-privacy-commits] [onionshare] 166/256: Set the size of the TorConnectionDialog to avoid it resizing the window as elements are drawn

Ulrike Uhlig ulrike at moszumanska.debian.org
Fri May 26 12:53:33 UTC 2017


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

ulrike pushed a commit to branch master
in repository onionshare.

commit 80af01e82dbfa580ebbc200650ed8b266eaef000
Author: Micah Lee <micah at micahflee.com>
Date:   Sun May 14 17:27:05 2017 -0700

    Set the size of the TorConnectionDialog to avoid it resizing the window as elements are drawn
---
 onionshare_gui/tor_connection_dialog.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/onionshare_gui/tor_connection_dialog.py b/onionshare_gui/tor_connection_dialog.py
index 8c23f3c..a337254 100644
--- a/onionshare_gui/tor_connection_dialog.py
+++ b/onionshare_gui/tor_connection_dialog.py
@@ -34,6 +34,7 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
         self.setWindowTitle("OnionShare")
         self.setWindowIcon(QtGui.QIcon(helpers.get_resource_path('images/logo.png')))
         self.setModal(True)
+        self.setFixedSize(400, 150)
 
         # Label
         self.setLabelText(strings._('connecting_to_tor', True))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git



More information about the Pkg-privacy-commits mailing list