- Support new keyboard API in yast2-country

OBS-URL: https://build.opensuse.org/package/show/system:install:head/live-langset-data?expand=0&rev=26
This commit is contained in:
Fabian Vogt 2019-10-30 13:03:06 +00:00 committed by Git OBS Bridge
parent 2aa56fb16d
commit d77cfbfea4
2 changed files with 3 additions and 3 deletions

View File

@ -31,8 +31,8 @@ module Yast
suffix = ll[2] || ""
fqlanguage = lang + suffix
if Keyboard.methods.include? :Codes
# With new YaST, the keymap isn't available anymore, rely on localectl's mapping
keymap = ""
kbd = Keyboard.GetKeyboardForLanguage(lang, "us")
keymap = Keyboard.Codes.key(kbd)
else
kbd = Keyboard.GetKeyboardForLanguage(lang, "us")
# does not really set keyboard, only fills some data

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Fri Jan 18 09:19:37 UTC 2019 - Fabian Vogt <fvogt@suse.com>
- Rely on localectl's mapping for new yast2-country
- Support new keyboard API in yast2-country
-------------------------------------------------------------------
Mon Jan 7 16:19:54 UTC 2019 - Fabian Vogt <fvogt@suse.com>