mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Keyboard shortcut to show profiles
This commit is contained in:
parent
db3401b02b
commit
592dad1194
@ -301,6 +301,8 @@ be customised in the viewer :guilabel:`Preferences`. The default shortcuts are l
|
|||||||
- Toggle Table of Contents
|
- Toggle Table of Contents
|
||||||
* - :kbd:`Ctrl+S`
|
* - :kbd:`Ctrl+S`
|
||||||
- Read aloud
|
- Read aloud
|
||||||
|
* - :kbd:`Alt+P`
|
||||||
|
- Change settings quickly by creating and switching to :guilabel:`profiles`
|
||||||
* - :kbd:`Alt+f`
|
* - :kbd:`Alt+f`
|
||||||
- Follow links with the keyboard
|
- Follow links with the keyboard
|
||||||
* - :kbd:`Ctrl+C`
|
* - :kbd:`Ctrl+C`
|
||||||
|
@ -314,6 +314,12 @@ def common_shortcuts(): # {{{
|
|||||||
_('Show the book metadata')
|
_('Show the book metadata')
|
||||||
),
|
),
|
||||||
|
|
||||||
|
'show_profiles': desc(
|
||||||
|
v"['Alt+p']",
|
||||||
|
'ui',
|
||||||
|
_('Change settings quickly by creating and switching to "profiles"')
|
||||||
|
),
|
||||||
|
|
||||||
'reload_book': desc(
|
'reload_book': desc(
|
||||||
v"['Ctrl+Alt+F5', 'Ctrl+Alt+r']",
|
v"['Ctrl+Alt+F5', 'Ctrl+Alt+r']",
|
||||||
'ui',
|
'ui',
|
||||||
|
@ -493,6 +493,8 @@ class View:
|
|||||||
ui_operations.toggle_bookmarks()
|
ui_operations.toggle_bookmarks()
|
||||||
else:
|
else:
|
||||||
self.overlay.show_bookmarks()
|
self.overlay.show_bookmarks()
|
||||||
|
elif data.name is 'show_profiles':
|
||||||
|
self.overlay.show_profiles()
|
||||||
elif data.name is 'toggle_highlights':
|
elif data.name is 'toggle_highlights':
|
||||||
ui_operations.toggle_highlights()
|
ui_operations.toggle_highlights()
|
||||||
elif data.name is 'new_bookmark':
|
elif data.name is 'new_bookmark':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user