diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-09-11 00:34:53 -0500 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-09-11 00:34:53 -0500 |
commit | bf4363dde3535f9621d990528c71f0fbd2be6ebd (patch) | |
tree | 2a835b457e53581250ca043b0ec613add93763cd /libpurple/data | |
parent | 147772e248ff118af4af62c1be8769b7b4d14ad2 (diff) | |
download | pidgin-bf4363dde3535f9621d990528c71f0fbd2be6ebd.tar.gz |
Port credential manager to GSettings
A simple poc for porting to `GSettings` as credential manager only has one setting.
Testing Done:
Opened Pidgin prefs, changed credential provider and it saved for next re-start.
Reviewed at https://reviews.imfreedom.org/r/1735/
Diffstat (limited to 'libpurple/data')
-rw-r--r-- | libpurple/data/im.pidgin.Purple.gschema.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libpurple/data/im.pidgin.Purple.gschema.xml b/libpurple/data/im.pidgin.Purple.gschema.xml index 923e1f7ffd..88b61ccb39 100644 --- a/libpurple/data/im.pidgin.Purple.gschema.xml +++ b/libpurple/data/im.pidgin.Purple.gschema.xml @@ -1,5 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <schemalist> <schema path="/" id="im.pidgin.Purple"> + <child name="credentials" schema="im.pidgin.Purple.Credentials"/> + </schema> + + <schema path="/purple/credentials/" id="im.pidgin.Purple.Credentials"> + <key name="active-provider" type="s"> + <default>"noop-provider"</default> + <summary>Active credential provider</summary> + <description> + The credential provider that will be used to save credentials, i.e., + passwords, tokens, etc. + </description> + </key> </schema> </schemalist> |