This commit is contained in:
Kovid Goyal 2010-07-25 17:53:30 -06:00
parent d1a773f2ee
commit c69780c97e

View File

@ -341,7 +341,6 @@ class PostInstall:
p = QImage(I('lt.png')).scaledToHeight(128, p = QImage(I('lt.png')).scaledToHeight(128,
Qt.SmoothTransformation) Qt.SmoothTransformation)
p.save('calibre-gui.png') p.save('calibre-gui.png')
QFile(I('l.png')).copy('calibre-gui.png')
check_call('xdg-icon-resource install --noupdate --size 128 calibre-gui.png calibre-gui', shell=True) check_call('xdg-icon-resource install --noupdate --size 128 calibre-gui.png calibre-gui', shell=True)
self.icon_resources.append(('apps', 'calibre-gui', '128')) self.icon_resources.append(('apps', 'calibre-gui', '128'))
render_svg(QFile(I('viewer.svg')), 'calibre-viewer.png') render_svg(QFile(I('viewer.svg')), 'calibre-viewer.png')