Skip to content

configuration: small fixes#837

Draft
deltragon wants to merge 5 commits intoslgobinath:masterfrom
deltragon:configuration-misc-fixes
Draft

configuration: small fixes#837
deltragon wants to merge 5 commits intoslgobinath:masterfrom
deltragon:configuration-misc-fixes

Conversation

@deltragon
Copy link
Collaborator

@deltragon deltragon commented Jan 19, 2026

Description

Based on #836, only the last two commits are new.
Separated out of that PR to make the behaviour changes more visible.

@deltragon deltragon force-pushed the configuration-misc-fixes branch from b9db19f to e430da5 Compare January 19, 2026 20:00
also merge duplicated code in initialize and reset
Also skip saving the file on load if it is unchanged.
(It will only changed when new default values are added on an update).

The timing when the config is loaded is moved around, as otherwise
logging may not be initialized yet.
Only load the config in the main GTK instance, and not the CLI
instances. This can be changed again later, but it is not needed right
now, so we skip it.
@adventuretc
Copy link
Contributor

I'm looking forward to this. :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants