FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux User Repository

 
 
LinkBack Thread Tools
 
Old 11-24-2009, 08:01 PM
Hans de Goede
 
Default Set the default keyboard based on language before showing the UI (#532843).

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(anacon da.rootPath), anaconda.id.keyboard)
+ default = anaconda.id.instLanguage.getDefaultKeyboard(anacon da.rootPath)
+ anaconda.id.keyboard.set(default)
+ return installKeyboardWindow.getScreen(self, default, anaconda.id.keyboard)


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

Thread Tools




All times are GMT. The time now is 07:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org