mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
New icon for Tweak Book
This commit is contained in:
parent
254b00c864
commit
5083f9f13c
7412
imgsrc/tweak.svg
Normal file
7412
imgsrc/tweak.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 249 KiB |
BIN
resources/images/tweak.png
Normal file
BIN
resources/images/tweak.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
@ -22,6 +22,7 @@ class TweakBook(QDialog):
|
||||
|
||||
def __init__(self, parent, book_id, fmts, db):
|
||||
QDialog.__init__(self, parent)
|
||||
self.setWindowIcon(QIcon(I('tweak.png')))
|
||||
self.book_id, self.fmts, self.db_ref = book_id, fmts, weakref.ref(db)
|
||||
self._exploded = None
|
||||
self._cleanup_dirs = []
|
||||
@ -285,7 +286,7 @@ class TweakBook(QDialog):
|
||||
class TweakEpubAction(InterfaceAction):
|
||||
|
||||
name = 'Tweak ePub'
|
||||
action_spec = (_('Tweak Book'), 'trim.png',
|
||||
action_spec = (_('Tweak Book'), 'tweak.png',
|
||||
_('Make small changes to ePub, HTMLZ or AZW3 format books'),
|
||||
_('T'))
|
||||
dont_add_to = frozenset(['context-menu-device'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user