mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Prevent Match books being added to cover browser context menu
This commit is contained in:
parent
14578688a7
commit
8a4dcf92ec
@ -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…
x
Reference in New Issue
Block a user