aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-10-03 10:06:14 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-10-03 10:06:14 +0200
commit1328cb1d6fe87b2efb5f3e700ae05238eb5b8fec (patch)
tree72d51c6a17990e679dfeac11f88e9cde32dd17b6
parent0a64b489f1b5d7a5e5c82c1b5ff1be296bff6871 (diff)
parent2f200b01140a1a2de897836f83593d5fba1af88f (diff)
downloadarctica-greeter-1328cb1d6fe87b2efb5f3e700ae05238eb5b8fec.tar.gz
arctica-greeter-1328cb1d6fe87b2efb5f3e700ae05238eb5b8fec.tar.bz2
arctica-greeter-1328cb1d6fe87b2efb5f3e700ae05238eb5b8fec.zip
Merge branch 'sunweaver-mr/initialize-sr-and-osk'
Attributes GH PR #77: https://github.com/ArcticaProject/arctica-greeter/pull/77
-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)
{