Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 852
    • Issues 852
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Merge requests
  • !3306

gregistrysettingsbackend: Allow a different root key path

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Dario Saccavino requested to merge dsacc/glib:registry-settings-root-key into main Mar 03, 2023
  • Overview 35
  • Commits 2
  • Pipelines 10
  • Changes 6

The purpose of this patch is to overcome the limitation that GSettings can only store settings under HKEY_CURRENT_USER\Software\GSettings.

This allows an application to keep its installation-time settings in a registry key under e.g. HKEY_LOCAL_MACHINE\Software\Something, while making those settings readable by a regular process using GSettings.

The patch adds:

  • a construct-only registry-key property to GSettingsBackend, containing the full path to the base registry key where settings are stored.
  • a public function g_registry_settings_backend_new to construct the registry backend, optionally specifying a root key path.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: registry-settings-root-key