mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Adds Settings and Help menu items to the systray
This commit is contained in:
parent
d25c6d949f
commit
cc73c92e4b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user