Author: bugman
Date: Fri Oct 17 16:13:04 2014
New Revision: 26307
URL: http://svn.gna.org/viewcvs/relax?rev=26307&view=rev
Log:
Fix for the gui.fonts module to allow it to be used outside of the GUI.
Modified:
trunk/gui/fonts.py
Modified: trunk/gui/fonts.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/gui/fonts.py?rev=26307&r1=26306&r2=26307&view=diff
==============================================================================
--- trunk/gui/fonts.py (original)
+++ trunk/gui/fonts.py Fri Oct 17 16:13:04 2014
@@ -1,6 +1,6 @@
###############################################################################
# #
-# Copyright (C) 2011-2013 Edward d'Auvergne #
+# Copyright (C) 2011-2014 Edward d'Auvergne #
# #
# This file is part of the program relax (http://www.nmr-relax.com). #
# #
@@ -37,7 +37,7 @@
# Operating system dependent font scaling.
scale = 0
- if status.wx_info["os"] == 'darwin':
+ if hasattr(status, 'wx_info') and status.wx_info["os"] == 'darwin':
scale = 2
# The fonts.
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits