mailr20922 - /trunk/lib/text/gui.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on September 06, 2013 - 19:38:
Author: bugman
Date: Fri Sep  6 19:38:03 2013
New Revision: 20922

URL: http://svn.gna.org/viewcvs/relax?rev=20922&view=rev
Log:
Added some Mac OS X GUI string fixes for missing unicode characters to 
lib.text.gui.


Modified:
    trunk/lib/text/gui.py

Modified: trunk/lib/text/gui.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/text/gui.py?rev=20922&r1=20921&r2=20922&view=diff
==============================================================================
--- trunk/lib/text/gui.py (original)
+++ trunk/lib/text/gui.py Fri Sep  6 19:38:03 2013
@@ -28,10 +28,13 @@
 # relax module imports.
 from compat import SYSTEM, u
 
-# Windows.
+# OS Flags.
 win = False
+mac = False
 if SYSTEM == 'Windows':
     win = True
+if SYSTEM == 'Darwin':
+    mac = True
 
 # Relaxation data GUI text elements.
 r1 = u("R\u2081")
@@ -56,3 +59,6 @@
     local_tm = u("local \u03C4m")
     tm = u("\u03C4m")
     rex = "Rex"
+if mac:
+    local_tm = u("local \u03C4m")
+    tm = u("\u03C4m")




Related Messages


Powered by MHonArc, Updated Fri Sep 06 19:40:02 2013