mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-20 05:53:48 +02:00
...
This commit is contained in:
parent
a0db7b824a
commit
06d13aa0af
1 changed files with 2 additions and 2 deletions
|
|
@ -354,8 +354,8 @@ def setup_desktop_integration(self): # {{{
|
|||
check_call('xdg-icon-resource install --noupdate --context mimetypes --size 128 calibre-lrf.png text-lrs', shell=True)
|
||||
self.icon_resources.append(('mimetypes', 'application-lrs',
|
||||
'128'))
|
||||
render_img('lt.png', 'calibre-gui.png')
|
||||
check_call('xdg-icon-resource install --noupdate --size 128 calibre-gui.png calibre-gui', shell=True)
|
||||
render_img('lt.png', 'calibre-gui.png', width=256, height=256)
|
||||
check_call('xdg-icon-resource install --noupdate --size 256 calibre-gui.png calibre-gui', shell=True)
|
||||
self.icon_resources.append(('apps', 'calibre-gui', '128'))
|
||||
render_img('viewer.png', 'calibre-viewer.png')
|
||||
check_call('xdg-icon-resource install --size 128 calibre-viewer.png calibre-viewer', shell=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue