Prevent Match books being added to cover browser context menu

This commit is contained in:
Kovid Goyal 2015-10-04 21:08:07 +05:30
parent 14578688a7
commit 8a4dcf92ec

View File

@ -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):