Merge branch 'extra_systray_buttons' of https://github.com/mig5/onionshare into mig5-extra_systray_buttons

This commit is contained in:
Micah Lee 2017-05-30 12:01:04 -07:00
commit f835703b92
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

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