summaryrefslogtreecommitdiffstats
path: root/module/gui/LinkDock.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/LinkDock.py')
-rw-r--r--module/gui/LinkDock.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/gui/LinkDock.py b/module/gui/LinkDock.py
index ac2d4aae5..66822218d 100644
--- a/module/gui/LinkDock.py
+++ b/module/gui/LinkDock.py
@@ -12,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
-
+
@author: mkaay
"""
@@ -27,7 +27,7 @@ class NewLinkDock(QDockWidget):
self.setWidget(self.widget)
self.setAllowedAreas(Qt.RightDockWidgetArea|Qt.LeftDockWidgetArea)
self.hide()
-
+
def slotDone(self):
text = str(self.widget.box.toPlainText())
lines = text.splitlines()
@@ -41,16 +41,16 @@ class NewLinkWindow(QWidget):
self.dock = dock
self.setLayout(QVBoxLayout())
layout = self.layout()
-
+
explanationLabel = QLabel("Select a package and then click Add button.")
boxLabel = QLabel("Paste URLs here:")
self.box = QTextEdit()
-
+
save = QPushButton("Add")
-
+
layout.addWidget(explanationLabel)
layout.addWidget(boxLabel)
layout.addWidget(self.box)
layout.addWidget(save)
-
+
self.connect(save, SIGNAL("clicked()"), self.dock.slotDone)