mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 06:13:32 +02: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
2 changed files with 2 additions and 1 deletions
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 @@ def sreg(name, text, action, overrides={}, keys=(), description=None, icon=None)
|
|||
'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…
Reference in a new issue