From 34333b3658d03383f58e4402abfa22ffb3e63c06 Mon Sep 17 00:00:00 2001 From: norepro Date: Sun, 7 Dec 2025 15:49:57 -0800 Subject: [PATCH] fix: missing directory data for some theme dirs Commit 49a1762 added many directories to the `Directories` field as well as corresponding directory entries for most, but not all, of the new entries. The missing entries manifest as Gtk warnings when doing some operations via command line, e.g. opening an image using `open`. ``` $ open rainbow-0.png (eog:248786): Gtk-WARNING **: 15:18:32.794: Theme directory scalable/emotes of theme Cosmic has no size field (eog:248786): Gtk-WARNING **: 15:18:32.794: Theme directory scalable/legacy of theme Cosmic has no size field (eog:248786): Gtk-WARNING **: 15:18:32.794: Theme directory scalable/ui of theme Cosmic has no size field (eog:248786): Gtk-WARNING **: 15:18:32.794: Theme directory scalable-up-to-32/status of theme Cosmic has no size field ``` Add directory entries for the missing sections. Fixes #36 --- index.theme | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/index.theme b/index.theme index 0b9ee7c..59de0c9 100644 --- a/index.theme +++ b/index.theme @@ -539,6 +539,20 @@ MinSize=8 MaxSize=512 Type=Scalable +[scalable/emotes] +Context=Emotes +Size=128 +MinSize=8 +MaxSize=512 +Type=Scalable + +[scalable/legacy] +Context=Legacy +Size=128 +MinSize=8 +MaxSize=512 +Type=Scalable + [scalable/mimetypes] Context=MimeTypes Size=128 @@ -559,3 +573,17 @@ Size=128 MinSize=8 MaxSize=512 Type=Scalable + +[scalable/ui] +Context=UI +Size=128 +MinSize=8 +MaxSize=512 +Type=Scalable + +[scalable-up-to-32/status] +Context=Status +Size=32 +MinSize=8 +MaxSize=32 +Type=Scalable