From 3127aad09a3a2d07a8f01e84cec2119c8c991b22 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sat, 10 Aug 2024 21:56:03 -0400 Subject: [PATCH] Update xdg icon set --- internal/icons/xdg/icon.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/icons/xdg/icon.go b/internal/icons/xdg/icon.go index a546fd9..d8ad2a4 100644 --- a/internal/icons/xdg/icon.go +++ b/internal/icons/xdg/icon.go @@ -8,19 +8,20 @@ import "regexp" import "strings" import _ "image/png" import "git.tebibyte.media/tomo/tomo" -import xdgIconTheme "git.tebibyte.media/tomo/xdg/icon-theme" import "git.tebibyte.media/tomo/tomo/data" import "git.tebibyte.media/tomo/tomo/canvas" +import "git.tebibyte.media/tomo/backend/style" +import xdgIconTheme "git.tebibyte.media/tomo/xdg/icon-theme" type iconTheme struct { xdg xdgIconTheme.Theme - fallback tomo.IconSet + fallback style.IconSet texturesSmall map[tomo.Icon] canvas.Texture texturesMedium map[tomo.Icon] canvas.Texture texturesLarge map[tomo.Icon] canvas.Texture } -func FindThemeWarn (name string, fallback tomo.IconSet, path ...string) (tomo.IconSet, error) { +func FindThemeWarn (name string, fallback style.IconSet, path ...string) (style.IconSet, error) { this := &iconTheme { fallback: fallback, texturesLarge: make(map[tomo.Icon] canvas.Texture),