aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arctica-greeter.vala16
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;