Re: [PATCH] Set the default keyboard based on language before showing the UI (#532843).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack

On 11/24/2009 08:38 PM, Chris Lumens wrote:
This makes sure the keyboard both defaults to the right setting and is
correctly set in /etc/sysconfig/keyboard post-install.
---
  iw/kbd_gui.py |    5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/iw/kbd_gui.py b/iw/kbd_gui.py
index 322d04c..aa7b858 100644
--- a/iw/kbd_gui.py
+++ b/iw/kbd_gui.py
@@ -34,5 +34,6 @@ class KeyboardWindow(InstallWindow, installKeyboardWindow):
          installKeyboardWindow.getNext(self)

      def getScreen(self, anaconda):
-        anaconda.id.keyboard.beenset = 1
-        return installKeyboardWindow.getScreen(self, anaconda.id.instLanguage.getDefaultKeyboard(anaconda.rootPath), anaconda.id.keyboard)
+        default = anaconda.id.instLanguage.getDefaultKeyboard(anaconda.rootPath)
+        anaconda.id.keyboard.set(default)
+        return installKeyboardWindow.getScreen(self, default, anaconda.id.keyboard)

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux