- 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:
parent
2aa56fb16d
commit
d77cfbfea4
@ -31,8 +31,8 @@ module Yast
|
|||||||
suffix = ll[2] || ""
|
suffix = ll[2] || ""
|
||||||
fqlanguage = lang + suffix
|
fqlanguage = lang + suffix
|
||||||
if Keyboard.methods.include? :Codes
|
if Keyboard.methods.include? :Codes
|
||||||
# With new YaST, the keymap isn't available anymore, rely on localectl's mapping
|
kbd = Keyboard.GetKeyboardForLanguage(lang, "us")
|
||||||
keymap = ""
|
keymap = Keyboard.Codes.key(kbd)
|
||||||
else
|
else
|
||||||
kbd = Keyboard.GetKeyboardForLanguage(lang, "us")
|
kbd = Keyboard.GetKeyboardForLanguage(lang, "us")
|
||||||
# does not really set keyboard, only fills some data
|
# does not really set keyboard, only fills some data
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 18 09:19:37 UTC 2019 - Fabian Vogt <fvogt@suse.com>
|
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>
|
Mon Jan 7 16:19:54 UTC 2019 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user