Skip to content

Commit

Permalink
Add action to conversation menu
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalo-bulnes committed Jan 18, 2022
1 parent fadec8e commit 33b094a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3763,6 +3763,11 @@ def __init__(
separator_font.setLetterSpacing(QFont.AbsoluteSpacing, 2)
separator_font.setBold(True)

download_section = self.addSection(_("DOWNLOAD"))
download_section.setFont(separator_font)

self.addAction(DownloadConversation(self, self.controller, app_state))

delete_section = self.addSection(_("DELETE"))
delete_section.setFont(separator_font)

Expand All @@ -3778,7 +3783,7 @@ def __init__(
) -> None:
self._controller = controller
self._state = app_state
self._text = _("Download All")
self._text = _("All Files")
super().__init__(self._text, parent)
self.setShortcut(Qt.CTRL + Qt.Key_D)
self.triggered.connect(self.on_triggered)
Expand Down

0 comments on commit 33b094a

Please sign in to comment.