Allow marked book button to be added to main toolbar when device is connected

Fixes #1239163 [Mark Books cannot be added to "The main menu when a device is connected"](https://bugs.launchpad.net/calibre/+bug/1239163)
This commit is contained in:
Kovid Goyal 2013-10-12 22:37:53 +05:30
parent 00e0901249
commit 12e83a09b0

View File

@ -20,7 +20,7 @@ class MarkBooksAction(InterfaceAction):
action_type = 'current'
action_add_menu = True
dont_add_to = frozenset([
'toolbar-device', 'context-menu-device', 'menubar-device', 'context-menu-cover-browser'])
'context-menu-device', 'menubar-device', 'context-menu-cover-browser'])
action_menu_clone_qaction = _('Toggle mark for selected books')
accepts_drops = True