From 12e83a09b0f254a611fe4260bb653a93d2176200 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 12 Oct 2013 22:37:53 +0530 Subject: [PATCH] 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) --- src/calibre/gui2/actions/mark_books.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/actions/mark_books.py b/src/calibre/gui2/actions/mark_books.py index 8543df4461..2dfdc2781b 100644 --- a/src/calibre/gui2/actions/mark_books.py +++ b/src/calibre/gui2/actions/mark_books.py @@ -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