[gtk/expand-builtin-icontheme] Add more directories to the builtin hicolor index




commit dae892d8f6b7e5402360e7a66803814d86360fc5
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 2 06:38:12 2022 -0400

    Add more directories to the builtin hicolor index
    
    We haven't had any scalable directories in this list.
    Add some. Since we seem to have settled on including
    just actions and status as subdirectories for each
    size, add scalable/actions and scalable/status.
    
    Fixes: #4960

 gtk/gtkicontheme.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 4f0618ab04..4cc8387d66 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -1709,7 +1709,7 @@ static const char builtin_hicolor_index[] =
 "[Icon Theme]\n"
 "Name=Hicolor\n"
 "Hidden=True\n"
-"Directories=16x16/actions,16x16/status,22x22/actions,24x24/actions,24x24/status,32x32/actions,32x32/status,48x48/status,64x64/actions\n"
+"Directories=16x16/actions,16x16/status,22x22/actions,24x24/actions,24x24/status,32x32/actions,32x32/status,48x48/status,64x64/actions,scalable/status,scalable/actions\n"
 "[16x16/actions]\n"
 "Size=16\n"
 "Type=Threshold\n"
@@ -1736,7 +1736,17 @@ static const char builtin_hicolor_index[] =
 "Type=Threshold\n"
 "[64x64/actions]\n"
 "Size=64\n"
-"Type=Threshold\n";
+"Type=Threshold\n"
+"[scalable/status]\n"
+"MinSize=1\n"
+"Size=128\n"
+"MaxSize=256\n"
+"Type=Scalable\n"
+"[scalable/actions]\n"
+"MinSize=1\n"
+"Size=128\n"
+"MaxSize=256\n"
+"Type=Scalable\n";
 
 static void
 insert_theme (GtkIconTheme *self,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]