From abdbf413f92c12338dd0958f26ebb4c2638788b0 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Thu, 8 Nov 2018 17:45:52 -0800 Subject: [PATCH] Remove placeholder text from source list for now Resolves #120 --- securedrop_client/gui/widgets.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/securedrop_client/gui/widgets.py b/securedrop_client/gui/widgets.py index a2ea0b9d9..98fdba63d 100644 --- a/securedrop_client/gui/widgets.py +++ b/securedrop_client/gui/widgets.py @@ -207,9 +207,6 @@ def __init__(self, parent, source): layout.addWidget(self.summary) self.updated = QLabel() layout.addWidget(self.updated) - self.details = QLabel() - self.details.setWordWrap(True) - layout.addWidget(self.details) self.update() def setup(self, controller): @@ -237,15 +234,11 @@ def display_star_icon(self): def update(self): """ Updates the displayed values with the current values from self.source. - - TODO: Style this widget properly and work out what should be in the - self.details label. """ self.updated.setText(arrow.get(self.source.last_updated).humanize()) self.display_star_icon() self.name.setText("{}".format( self.source.journalist_designation)) - self.details.setText("Lorum ipsum dolor sit amet thingy dodah...") def toggle_star(self, event): """