Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: GSettings #249

Open
ShadowRZ opened this issue May 26, 2020 · 0 comments
Open

RFC: GSettings #249

ShadowRZ opened this issue May 26, 2020 · 0 comments

Comments

@ShadowRZ
Copy link

Rationale

This RFC describes the usage of GSettings in Srain.

[This is a draft]

Schema

The root path of schema is /im/srain/srain/, and the ID is im.srain.Srain.Settings.
Generally, the avaliable options would match the original option name of builtin.cfg .

Relocatables

Two relocatable schemas are used, one for storing options for a chat session, the other for storing server list.

Identifiers are:

  • im.srain.Srain.Settings.Chat - Chat options
  • im.srain.Srain.Settings.Server - Server options

Defined / Avaliable servers

Due to the limitations of GSettings, there is also a option of "avaliable" servers. it is used to index defined servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants