srain icon indicating copy to clipboard operation
srain copied to clipboard

RFC: GSettings

Open ShadowRZ opened this issue 5 years ago • 0 comments

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.

ShadowRZ avatar May 26 '20 04:05 ShadowRZ