monospace
authorThomasV <thomasv@gitorious>
Sat, 31 Mar 2012 14:46:32 +0000 (16:46 +0200)
committerThomasV <thomasv@gitorious>
Sat, 31 Mar 2012 14:46:32 +0000 (16:46 +0200)
client/gui.py
client/gui_qt.py

index 75264e0..1285096 100644 (file)
@@ -27,7 +27,8 @@ from decimal import Decimal
 
 gtk.gdk.threads_init()
 APP_NAME = "Electrum"
-MONOSPACE_FONT = "monospace"
+import platform
+MONOSPACE_FONT = 'Lucida Console' if platform.system() == 'Windows' else 'monospace'
 
 from wallet import format_satoshis
 from interface import DEFAULT_SERVERS
index a0df6ce..c9a5de9 100644 (file)
@@ -36,7 +36,9 @@ except:
 from wallet import format_satoshis
 from decimal import Decimal
 
-MONOSPACE_FONT = 'monospace'
+import platform
+MONOSPACE_FONT = 'Lucida Console' if platform.system() == 'Windows' else 'monospace'
+    
 
 def numbify(entry, is_int = False):
     text = unicode(entry.text()).strip()