refactor: extract constants, deduplicate defaults, improve config loading
- Define NUM_COMMANDS and DEFAULT_COMMANDS to eliminate repeated arrays - Initialize commands to NULL and fall back to defaults on config read errors - Skip empty lines and handle malformed entries gracefully in load_configuration - Show a "Configuration saved." toast on successful settings save - Fix window parent lookup via gtk_application_get_active_window
This commit is contained in:
1 parent
c24db4dcbd
commit
13c06c274d
2 files changed
+50
-41
No files matched your search
@@ -1,3 +1,7 @@
|
||||
ssdd
|
||||
resources.c
|
||||
resources.h
|
||||
|
||||
# ZaguanBlade local data
|
||||
.zblade/
|
||||
.pnpm-store/
|
||||
Reference in new issue
Block a user