mirror of
https://github.com/elementary/gala.git
synced 2024-12-18 14:51:51 +03:00
KeyboardManager: Set keyboard layout on startup (#1626)
This commit is contained in:
parent
8a57a860f6
commit
9bf04d24f5
@ -35,7 +35,8 @@ public class Gala.KeyboardManager : Object {
|
|||||||
construct {
|
construct {
|
||||||
settings.changed.connect (set_keyboard_layout);
|
settings.changed.connect (set_keyboard_layout);
|
||||||
|
|
||||||
set_keyboard_layout (settings, "sources"); // Update layouts
|
set_keyboard_layout (settings, "sources"); // Update the list of layouts
|
||||||
|
set_keyboard_layout (settings, "current"); // Set current layout
|
||||||
}
|
}
|
||||||
|
|
||||||
private KeyboardManager (Meta.Display display) {
|
private KeyboardManager (Meta.Display display) {
|
||||||
|
Loading…
Reference in New Issue
Block a user