diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-03-01 13:18:51 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-03-01 13:40:38 +0100 |
commit | 5a720b7fa71cc67abdd0466ce1b34ef0012a9432 (patch) | |
tree | 21a26438342a905eeaab8a166c50ec8a773844d6 /src/arctica-greeter.vala | |
parent | d758529711dde5caf7d90b5a1bdb5cc1dd15e416 (diff) | |
download | arctica-greeter-5a720b7fa71cc67abdd0466ce1b34ef0012a9432.tar.gz arctica-greeter-5a720b7fa71cc67abdd0466ce1b34ef0012a9432.tar.bz2 arctica-greeter-5a720b7fa71cc67abdd0466ce1b34ef0012a9432.zip |
arctica-greeter's test mode: No keyboard tweaks in test mode.
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r-- | src/arctica-greeter.vala | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 8013b8a..309503b 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -915,13 +915,15 @@ public class ArcticaGreeter : Object } } - /* Set the keyboard layout */ - set_keyboard_layout (); - - /* Set the numlock state */ - if (AGSettings.get_boolean (AGSettings.KEY_ACTIVATE_NUMLOCK)) { - debug ("Activating numlock"); - activate_numlock (); + if (!do_test_mode) { + /* Set the keyboard layout */ + set_keyboard_layout (); + + /* Set the numlock state */ + if (AGSettings.get_boolean (AGSettings.KEY_ACTIVATE_NUMLOCK)) { + debug ("Activating numlock"); + activate_numlock (); + } } Pid atspi_pid = 0; |