mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
No shortcut is indicated by None not ''
This commit is contained in:
parent
0fbbc255b3
commit
e53948ca39
@ -9,7 +9,7 @@ class BooklistContextMenuAction(InterfaceAction):
|
||||
|
||||
name = 'Booklist context menu'
|
||||
action_spec = (_('Book list header menu'), 'context_menu.png',
|
||||
_('Show the book list header context menu'), '')
|
||||
_('Show the book list header context menu'), None)
|
||||
action_type = 'current'
|
||||
action_add_menu = False
|
||||
dont_add_to = frozenset(['context-menu-device', 'menubar-device'])
|
||||
|
@ -13,7 +13,7 @@ class SavedSearchesAction(InterfaceAction):
|
||||
|
||||
name = 'Saved searches'
|
||||
action_spec = (_('Saved searches'), 'folder_saved_search.png',
|
||||
_('Show a menu of saved searches'), '')
|
||||
_('Show a menu of saved searches'), None)
|
||||
action_type = 'current'
|
||||
action_add_menu = True
|
||||
dont_add_to = frozenset(('context-menu-device', 'menubar-device'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user