diff --git a/CHANGELOG b/CHANGELOG index 4d89646..155ce3f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -87,4 +87,7 @@ - Implemented swap_rename_projection general optimization - Replaced old relational algebra to python compiler with new one based on the new tokenizer/parser (Rev 188) - Code refactory to move the new parser into parser.py out of optimizer.py, that will still be compatible (Rev 190) -- Selection can now accept expressions with parenthesis \ No newline at end of file +- Selection can now accept expressions with parenthesis + +0.11 +- Font is set only on windows \ No newline at end of file diff --git a/relational_gui.py b/relational_gui.py index 3422df8..5f8cdc5 100755 --- a/relational_gui.py +++ b/relational_gui.py @@ -20,12 +20,13 @@ # author Salvo "LtWorf" Tomaselli import sys +import os import sip from PyQt4 import QtCore, QtGui from relational_gui import maingui, about from relational import relation, parser -version="0.10" +version="0.11" about.version=version if __name__ == "__main__": @@ -42,7 +43,8 @@ if __name__ == "__main__": app = QtGui.QApplication(sys.argv) Form = QtGui.QWidget() - Form.setFont(QtGui.QFont("Dejavu Sans Bold")) + if os.name=='nt': + Form.setFont(QtGui.QFont("Dejavu Sans Bold")) ui = maingui.Ui_Form() ui.setupUi(Form)