[Pkg-privacy-commits] [onionshare] 38/66: Made URL label no longer word-wrap

Ulrike Uhlig u-guest at moszumanska.debian.org
Wed Apr 13 22:17:50 UTC 2016


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

u-guest pushed a commit to branch master
in repository onionshare.

commit 3b638cfd995062d68082ea377171bbe2f3c4415f
Author: Micah Lee <micah at micahflee.com>
Date:   Sun Apr 10 13:33:16 2016 -0700

    Made URL label no longer word-wrap
---
 onionshare_gui/server_status.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py
index 4db5093..5def494 100644
--- a/onionshare_gui/server_status.py
+++ b/onionshare_gui/server_status.py
@@ -61,7 +61,7 @@ class ServerStatus(QtWidgets.QVBoxLayout):
         url_font = QtGui.QFont()
         self.url_label = QtWidgets.QLabel()
         self.url_label.setFont(url_font)
-        self.url_label.setWordWrap(True)
+        self.url_label.setWordWrap(False)
         self.url_label.setAlignment(QtCore.Qt.AlignCenter)
         self.copy_url_button = QtWidgets.QPushButton(strings._('gui_copy_url', True))
         self.copy_url_button.clicked.connect(self.copy_url)
@@ -89,7 +89,7 @@ class ServerStatus(QtWidgets.QVBoxLayout):
 
         # set the URL fields
         if self.status == self.STATUS_STARTED:
-            self.url_label.setText('http://{0:s}/ {1:s}'.format(self.app.onion_host, self.web.slug))
+            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()
 

-- 
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