[Pkg-anonymity-tools] [onionshare] 53/57: URL display is no longer tiny, and window gets autoresized if URL is too big (fixes #183)
Ulrike Uhlig
u-guest at moszumanska.debian.org
Tue May 19 18:18:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to annotated tag 0.7
in repository onionshare.
commit eb9dc99a1907ed69917c5f0c56aeb2093648ec30
Author: Micah Lee <micah at micahflee.com>
Date: Mon May 18 11:05:33 2015 -0700
URL display is no longer tiny, and window gets autoresized if URL is too big (fixes #183)
---
onionshare_gui/server_status.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py
index efb481f..579e2e8 100644
--- a/onionshare_gui/server_status.py
+++ b/onionshare_gui/server_status.py
@@ -56,7 +56,6 @@ class ServerStatus(QtGui.QVBoxLayout):
# url layout
url_font = QtGui.QFont()
- url_font.setPointSize(8)
self.url_label = QtGui.QLabel()
self.url_label.setFont(url_font)
self.url_label.setWordWrap(True)
@@ -87,6 +86,10 @@ class ServerStatus(QtGui.QVBoxLayout):
self.url_label.setText('http://{0:s}/ {1:s}'.format(self.app.onion_host, self.web.slug))
self.url_label.show()
self.copy_url_button.show()
+
+ # resize parent widget
+ p = self.parentWidget()
+ p.resize(p.sizeHint())
else:
self.url_label.hide()
self.copy_url_button.hide()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git
More information about the Pkg-anonymity-tools
mailing list