From e1b4e5edaa888b53bb5b210fd45a1a9589212bb8 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Wed, 7 Sep 2011 23:56:59 +0000 Subject: [PATCH] * configure.py : Remove unnecessary code in xhtml viewer detection. This code seems unnecessary since not_found = "auto" is set in checkViewer, and thus "auto" is used as the viewer when no viewers are found, and a lyxrc entry is added anyway. The "auto" string is special-cased in the code, where we attempt to automatically determine the viewer from the OS. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39640 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/configure.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index b6d3152ced..33bd0b7a45 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -537,10 +537,8 @@ def checkFormatEntries(dtl_tools): \Format excel xls "Excel spreadsheet" "" "" "%%" "document" \Format oocalc ods "OpenOffice spreadsheet" "" "" "%%" "document"''']) # - path, xhtmlview = checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'], + checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'], rc_entry = [r'\Format xhtml xhtml "LyXHTML" y "%%" "" "document,menu=export"']) - if xhtmlview == "": - addToRC(r'\Format xhtml xhtml "LyXHTML" y "" "" "document,menu=export"') # checkEditor('a BibTeX editor', ['jabref', 'JabRef', \ 'pybliographic', 'bibdesk', 'gbib', 'kbib', \