mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04: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
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 @@ class Main(MainWindow):
|
||||
|
||||
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…
x
Reference in New Issue
Block a user