[PATCH 1/4] Move DEFAULT_VC_FONT to constants

Vratislav Podzimek vpodzime at redhat.com
Thu Aug 15 11:01:28 UTC 2013


Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/constants.py | 2 ++
 pyanaconda/keyboard.py  | 1 +
 2 files changed, 3 insertions(+)

diff --git a/pyanaconda/constants.py b/pyanaconda/constants.py
index 636260e..ebd672e 100644
--- a/pyanaconda/constants.py
+++ b/pyanaconda/constants.py
@@ -89,6 +89,8 @@ BASE_REPO_NAME = "anaconda"
 # NOTE: this should be LANG_TERRITORY.CODESET, e.g. en_US.UTF-8
 DEFAULT_LANG = "en_US.UTF-8"
 
+DEFAULT_VC_FONT = "latarcyrheb-sun16"
+
 DRACUT_SHUTDOWN_EJECT = "/run/initramfs/usr/lib/dracut/hooks/shutdown/99anaconda-eject.sh"
 
 # VNC questions
diff --git a/pyanaconda/keyboard.py b/pyanaconda/keyboard.py
index adaf5c6..dcd42b2 100755
--- a/pyanaconda/keyboard.py
+++ b/pyanaconda/keyboard.py
@@ -42,6 +42,7 @@ from pyanaconda import flags
 from pyanaconda import localization
 from pyanaconda.safe_dbus import dbus_call_safe_sync, dbus_get_property_safe_sync
 from pyanaconda.safe_dbus import DBUS_SYSTEM_BUS_ADDR, DBusPropertyError
+from pyanaconda.constants import DEFAULT_VC_FONT
 
 # pylint: disable-msg=E0611
 from gi.repository import Xkl, Gio, GLib
-- 
1.7.11.7



More information about the anaconda-patches mailing list