mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
* 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
This commit is contained in:
parent
89cb89c78c
commit
e1b4e5edaa
@ -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', \
|
||||
|
Loading…
Reference in New Issue
Block a user