diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-09-26 09:27:18 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-10-03 10:06:07 +0200 |
commit | 2f200b01140a1a2de897836f83593d5fba1af88f (patch) | |
tree | 72d51c6a17990e679dfeac11f88e9cde32dd17b6 /src | |
parent | 0a64b489f1b5d7a5e5c82c1b5ff1be296bff6871 (diff) | |
download | arctica-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/arctica-greeter.vala | 4 |
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) { |