New icon for Tweak Book

This commit is contained in:
Kovid Goyal 2013-10-07 16:34:47 +05:30
parent 254b00c864
commit 5083f9f13c
3 changed files with 7415 additions and 2 deletions

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@ -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'])