electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3ee5561488f923a52d91b0989e24a985863d7836
parent 003c3e157ff9d386c92c06a1651870bcf5ecb89f
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 31 Mar 2012 16:46:32 +0200

monospace

Diffstat:
Mclient/gui.py | 3++-
Mclient/gui_qt.py | 4+++-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/client/gui.py b/client/gui.py @@ -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 diff --git a/client/gui_qt.py b/client/gui_qt.py @@ -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()