Default access keys

merge-requests/30/head
Bob Mottram 2021-04-22 13:47:19 +01:00
parent 6254c30c63
commit 114fc7a80b
1 changed files with 16 additions and 1 deletions

View File

@ -14490,7 +14490,22 @@ def runDaemon(brochMode: bool,
httpd.textModeBanner = getTextModeBanner(baseDir)
# key shortcuts SHIFT + ALT + [key]
httpd.accessKeys = {}
httpd.accessKeys = {
menuProfile: 'p',
menuInbox: 'i',
menuSearch: '/',
menuNewPost: 'n',
menuCalendar: 'c',
menuDM: 'd',
menuReplies: 'r',
menuOutbox: 's',
menuBookmarks: 'k',
menuShares: 'h',
menuBlogs: 'b',
menuNewswire: 'w',
menuLinks: 'l',
menuModeration: 'm'
}
httpd.unitTest = unitTest
httpd.allowLocalNetworkAccess = allowLocalNetworkAccess