From 51c08484ef254c8256116e024f16c50db46e4ca6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 21 Oct 2009 08:03:59 -0600 Subject: [PATCH] Fix #3824 (Version in .desktop files is used wrongly) --- src/calibre/linux.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/calibre/linux.py b/src/calibre/linux.py index d22cbf7cbd..f8beafc94d 100644 --- a/src/calibre/linux.py +++ b/src/calibre/linux.py @@ -6,7 +6,7 @@ __copyright__ = '2008, Kovid Goyal ' import sys, os, shutil, cPickle, textwrap, stat from subprocess import check_call -from calibre import __version__, __appname__, prints +from calibre import __appname__, prints entry_points = { @@ -491,36 +491,36 @@ complete -o filenames -F _'''%(opts,exts) + name + ' ' + name +"\n\n" VIEWER = '''\ [Desktop Entry] -Version=%s +Version=1.0 Type=Application Name=LRF Viewer GenericName=Viewer for LRF files Comment=Viewer for LRF files (SONY ebook format files) TryExec=lrfviewer -Exec=lrfviewer %%F +Exec=lrfviewer %F Icon=calibre-viewer MimeType=application/x-sony-bbeb; Categories=Graphics;Viewer; -'''%(__version__,) +''' EVIEWER = '''\ [Desktop Entry] -Version=%s +Version=1.0 Type=Application Name=E-book Viewer GenericName=Viewer for E-books Comment=Viewer for E-books TryExec=ebook-viewer -Exec=ebook-viewer %%F +Exec=ebook-viewer %F Icon=calibre-viewer MimeType=application/epub+zip; Categories=Graphics;Viewer; -'''%(__version__,) +''' GUI = '''\ [Desktop Entry] -Version=%s +Version=1.0 Type=Application Name=calibre GenericName=E-book library management @@ -529,7 +529,7 @@ TryExec=calibre Exec=calibre Icon=calibre-gui Categories=Office; -'''%(__version__,) +''' MIME = '''\