mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-11 04:02:40 -03:00
Merge branch 'extra_systray_buttons' of https://github.com/mig5/onionshare into mig5-extra_systray_buttons
This commit is contained in:
commit
f835703b92
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue