monospace
This commit is contained in:
parent
003c3e157f
commit
3ee5561488
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue