Access to icon theme for extensions
Feature summary
I'm trying to fix an extension for toggling unredirect fullscreen. It provides its own icons as SVG files and adds them to the theme with Gtk.IconTheme.get_default().append_search_path()
. This used to work, but doesn't any more. It either errors because the icon theme is null/undefined, or it displays a missing image icon so you can't see the state of the option.
I think what has changed is that Gtk's default icon theme no longer applies to gnome-shell, and it looks like it has been replaced by a private GtkIconTheme
member of StTextureCache
.
How would you like it to work
Perhaps StTextureCache
could provide a method to access the theme, or some forwarding methods like append_search_path()
.