Skip to content

st-theme.c: Some cleanup, fix an issue with fallback assets not being accessible.#13646

Merged
mtwebster merged 1 commit intolinuxmint:masterfrom
mtwebster:st-theme-cleanup
Mar 18, 2026
Merged

st-theme.c: Some cleanup, fix an issue with fallback assets not being accessible.#13646
mtwebster merged 1 commit intolinuxmint:masterfrom
mtwebster:st-theme-cleanup

Conversation

@mtwebster
Copy link
Member

We only set the fallback_stylesheet in the StTheme constructor, and load the actual theme with st_theme_load_stylesheet().

This isn't likely to change soon, so we can clean up a lot of unused code as well as some redundant loading when the theme is set to 'cinnamon'.

Also add the fallback theme to filenames_by_stylesheet, so url lookups for fallback theme assets can be found.

being accessible.

We only set the fallback_stylesheet in the StTheme constructor,
and load the actual theme with st_theme_load_stylesheet().

This isn't likely to change soon, so we can clean up a lot of
unused code as well as some redundant loading when the theme is
set to 'cinnamon'.

Also add the fallback theme to filenames_by_stylesheet, so url
lookups for fallback theme assets can be found.
@mtwebster mtwebster merged commit 9bc41ec into linuxmint:master Mar 18, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant