Merge branch 'mig5-extra_systray_buttons'

This commit is contained in:
Micah Lee 2017-05-30 12:04:38 -07:00
commit 9066dfe2f0
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)