diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-26 11:10:07 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-26 11:10:07 +0100 |
| commit | 3fe5cf3fcadd836b1b50efbb32f628044ad63e9f (patch) | |
| tree | 8b3e82da6b91f5c424c70810f243f88815384c99 /notifications/shell.qml | |
| parent | 79408ae88bccf691106ce8f7c18f4be107ad3c4e (diff) | |
| download | quickshell-3fe5cf3fcadd836b1b50efbb32f628044ad63e9f.tar.gz quickshell-3fe5cf3fcadd836b1b50efbb32f628044ad63e9f.zip | |
fix(mimeapps): duplicate keys, CRLF MimeType lines
parse() lets the last duplicate key win, as GKeyFile does, but set() and
remove() only touched the first, so on a file with two lines for one type
an edit had no visible effect. set() now rewrites the first match and
drops the later ones; remove() drops every match.
A .desktop file with CRLF line endings left a \r on its MimeType= line,
which scan() returned as a bogus last mime type. Each item is trimmed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'notifications/shell.qml')
0 files changed, 0 insertions, 0 deletions
