gtk icon theme searches system dirs before user dirs
Steps to reproduce
- Be using Adwaita icon theme
- mkdir -p ~/.local/share/icons/Adwaita/22x22/apps/
- cp /usr/share/icons/Adwaita/22x22/apps/system-file-manager.png ~/.local/share/icons/Adwaita/22x22/apps/
- GTK_DEBUG=icontheme ./whaticon system-file-manager
Current behavior
Gtk loads the icon from /usr/share/icons/Adwaita/22x22/apps/system-file-manager.png
Expected outcome
Gtk loads the icon from ~/.local/share/icons/Adwaita/22x22/apps/system-file-manager.png
Version information
Ubuntu 18.04, libgtk-3-0 3.22.30-1ubuntu1
Edited by Alistair Buxton