mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit Book: Allow the action to launch the saved searches dialog to be added to the global toolbars
This commit is contained in:
parent
b1fbfcf2a4
commit
e6964c4eee
BIN
resources/images/folder_saved_search.png
Normal file
BIN
resources/images/folder_saved_search.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
@ -411,7 +411,8 @@ class Main(MainWindow):
|
||||
'count', keys=('Ctrl+N'), description=_('Count number of matches'))
|
||||
self.action_mark = reg(None, _('&Mark selected text'), self.boss.mark_selected_text, 'mark-selected-text', ('Ctrl+Shift+M',), _('Mark selected text'))
|
||||
self.action_go_to_line = reg(None, _('Go to &line'), self.boss.go_to_line_number, 'go-to-line-number', ('Ctrl+.',), _('Go to line number'))
|
||||
self.action_saved_searches = reg(None, _('Sa&ved searches'), self.boss.saved_searches, 'saved-searches', (), _('Show the saved searches dialog'))
|
||||
self.action_saved_searches = treg('folder_saved_search.png', _('Sa&ved searches'),
|
||||
self.boss.saved_searches, 'saved-searches', (), _('Show the saved searches dialog'))
|
||||
|
||||
# Check Book actions
|
||||
group = _('Check Book')
|
||||
|
Loading…
x
Reference in New Issue
Block a user