calibre/calibre-3.26.1-nodisplay.patch

28 lines
700 B
Diff
Raw Normal View History

2018-07-02 20:43:31 +03:00
diff -ur calibre-3.26.1/src/calibre/linux.py calibre-3.26.1_patched/src/calibre/linux.py
--- calibre-3.26.1/src/calibre/linux.py 2018-06-15 09:55:24.000000000 +0300
+++ calibre-3.26.1_patched/src/calibre/linux.py 2018-07-02 20:31:20.326102126 +0300
@@ -996,6 +996,7 @@
TryExec=lrfviewer
Exec=lrfviewer %f
Icon=calibre-viewer
+NoDisplay=true
MimeType=application/x-sony-bbeb;
Categories=Graphics;Viewer;
'''
@@ -1010,6 +1011,7 @@
TryExec=ebook-viewer
Exec=ebook-viewer --detach %f
Icon=calibre-viewer
+NoDisplay=true
Categories=Graphics;Viewer;
'''
@@ -1023,6 +1025,7 @@
TryExec=ebook-edit
Exec=ebook-edit --detach %f
Icon=calibre-ebook-edit
+NoDisplay=true
Categories=Office;
'''