mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-26 17:34:06 +01:00
Prevent Match books being added to cover browser context menu
This commit is contained in:
parent
14578688a7
commit
8a4dcf92ec
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class MatchBookAction(InterfaceAction):
|
|||
action_spec = (_('Match book to library'), 'book.png',
|
||||
_('Match this book to a book in the library'),
|
||||
())
|
||||
dont_add_to = frozenset(['menubar', 'toolbar', 'context-menu', 'toolbar-child'])
|
||||
dont_add_to = frozenset(['menubar', 'toolbar', 'context-menu', 'toolbar-child', 'context-menu-cover-browser'])
|
||||
action_type = 'current'
|
||||
|
||||
def genesis(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue