From cc73c92e4b3434d2991342b37e1acc983f6ff147 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 27 May 2017 17:14:59 +1000 Subject: [PATCH] Adds Settings and Help menu items to the systray --- onionshare_gui/onionshare_gui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py index 166700e1..df9a3b84 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -150,6 +150,10 @@ class OnionShareGui(QtWidgets.QMainWindow): system = common.get_platform() menu = QtWidgets.QMenu() + settingsAction = menu.addAction(strings._('gui_settings_window_title', True)) + settingsAction.triggered.connect(self.open_settings) + helpAction = menu.addAction(strings._('gui_settings_button_help', True)) + helpAction.triggered.connect(SettingsDialog.help_clicked) exitAction = menu.addAction(strings._('systray_menu_exit', True)) exitAction.triggered.connect(self.close)