Keyboard shortcuts and accessibility
This commit is contained in:
parent
8590a047c7
commit
20a892247f
87 changed files with 3652 additions and 711 deletions
7
main.js
7
main.js
|
@ -455,6 +455,12 @@ function openForums() {
|
|||
shell.openExternal('https://community.signalusers.org/');
|
||||
}
|
||||
|
||||
function showKeyboardShortcuts() {
|
||||
if (mainWindow) {
|
||||
mainWindow.webContents.send('show-keyboard-shortcuts');
|
||||
}
|
||||
}
|
||||
|
||||
function setupWithImport() {
|
||||
if (mainWindow) {
|
||||
mainWindow.webContents.send('set-up-with-import');
|
||||
|
@ -787,6 +793,7 @@ function setupMenu(options) {
|
|||
const menuOptions = Object.assign({}, options, {
|
||||
development,
|
||||
showDebugLog: showDebugLogWindow,
|
||||
showKeyboardShortcuts,
|
||||
showWindow,
|
||||
showAbout,
|
||||
showSettings: showSettingsWindow,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue