mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +00:00
monospace
This commit is contained in:
parent
003c3e157f
commit
3ee5561488
2 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue