From 8a4dcf92ece1e76f14cc637fb54b7f6cea2db5bd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 4 Oct 2015 21:08:07 +0530 Subject: [PATCH] Prevent Match books being added to cover browser context menu --- src/calibre/gui2/actions/match_books.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/actions/match_books.py b/src/calibre/gui2/actions/match_books.py index f2a9ad1360..d7e5bfc88f 100644 --- a/src/calibre/gui2/actions/match_books.py +++ b/src/calibre/gui2/actions/match_books.py @@ -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):