]> git.lyx.org Git - lyx.git/blobdiff - lib/configure.py
Fixes to the bicaption module
[lyx.git] / lib / configure.py
index 35f22549e2e3b24baab2266004ffdec95c806cf5..5948dd64998f8f27b359552d70b273a7f6886df3 100644 (file)
@@ -563,6 +563,7 @@ def checkFormatEntries(dtl_tools):
         'pybliographic', 'bibdesk', 'gbib', 'kbib', \
         'kbibtex', 'sixpack', 'bibedit', 'tkbibtex' \
         'xemacs', 'gvim', 'kedit', 'kwrite', 'kate', \
+        'jedit', 'TeXnicCenter', 'WinEdt', 'WinShell', 'PSPad', \
         'nedit', 'gedit', 'notepad', 'geany', 'leafpad', 'mousepad'],
         rc_entry = [r'''\Format bibtex bib    "BibTeX"         "" ""   "%%"    ""      "text/x-bibtex"''' ])
     #
@@ -1059,11 +1060,11 @@ def processLayoutFile(file, bool_docbook):
             prereq_docbook = {'true':'', 'false':'docbook'}[bool_docbook]
             prereq = {'LaTeX':prereq_latex, 'DocBook':prereq_docbook}[classtype]
             classdeclaration = '"%s" "%s" "%s" "%s" "%s"' % (classname, opt, desc, avai, prereq)
-            if categorydeclaration != "":
+            if categorydeclaration != '""':
                 return classdeclaration + " " + categorydeclaration
         if qres != None:
              categorydeclaration = '"%s"' % (qres.groups()[0])
-             if classdeclaration != '""':
+             if classdeclaration != "":
                  return classdeclaration + " " + categorydeclaration
     if classdeclaration != "":
         return classdeclaration + " " + categorydeclaration