mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-19 04:53:03 +02:00
Edit Book: Allow the import files into book action to be added to the toolbar
This commit is contained in:
parent
da0b393562
commit
cf7887dd61
2 changed files with 1 additions and 1 deletions
BIN
resources/images/document-import.png
Normal file
BIN
resources/images/document-import.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
|
|
@ -304,7 +304,7 @@ def treg(icon, text, target, sid, keys, description):
|
|||
|
||||
self.action_new_file = treg('document-new.png', _('&New file (images/fonts/HTML/etc.)'), self.boss.add_file,
|
||||
'new-file', (), _('Create a new file in the current book'))
|
||||
self.action_import_files = treg(None, _('&Import files into book'), self.boss.add_files, 'new-files', (), _('Import files into book'))
|
||||
self.action_import_files = treg('document-import.png', _('&Import files into book'), self.boss.add_files, 'new-files', (), _('Import files into book'))
|
||||
self.action_open_book = treg('document_open.png', _('Open &book'), self.boss.open_book, 'open-book', 'Ctrl+O', _('Open a new book'))
|
||||
# Qt does not generate shortcut overrides for cmd+arrow on os x which
|
||||
# means these shortcuts interfere with editing
|
||||
|
|
|
|||
Loading…
Reference in a new issue