aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-26 09:27:18 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-10-03 10:06:07 +0200
commit2f200b01140a1a2de897836f83593d5fba1af88f (patch)
tree72d51c6a17990e679dfeac11f88e9cde32dd17b6
parent0a64b489f1b5d7a5e5c82c1b5ff1be296bff6871 (diff)
downloadarctica-greeter-2f200b01140a1a2de897836f83593d5fba1af88f.tar.gz
arctica-greeter-2f200b01140a1a2de897836f83593d5fba1af88f.tar.bz2
arctica-greeter-2f200b01140a1a2de897836f83593d5fba1af88f.zip
src/arctica-greeter.vala: Initialize screen-reader and OSK as configured in gsettings.
-rw-r--r--src/arctica-greeter.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index c327ed3..111eb9d 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -142,6 +142,10 @@ public class ArcticaGreeter : Object
{
this.pServer = new DBusServer (pConnection, this);
pConnection.register_object ("/org/ArcticaProject/ArcticaGreeter", this.pServer);
+
+ /* Initialize OSK and screen reader as configured in gsettings. */
+ this.pServer.ToggleOrca (AGSettings.get_boolean(AGSettings.KEY_SCREEN_READER));
+ this.pServer.ToggleOnBoard (AGSettings.get_boolean(AGSettings.KEY_ONSCREEN_KEYBOARD));
}
catch (IOError pError)
{