Add a way to detect the icon theme uses symbolic icons
In the light of the evolution!109 (merged) and the related evolution#1848 (closed), it would make it much easier to not force manually -gtk-icon-style:symbolic;
in the applications after certain conditions (like when the desktop is GNOME), but make it explicit from the icon theme itself, not from the desktop environment, because it's the icon theme providing the icons, not the desktop environment (I mean, the check for the running desktop theme is inaccurate, because users can change the icon theme to colored icons, or vice versa, to use icon theme with symbolic icons in a non-GNOME desktop). The inaccurate check then causes inconsistent icons being used in the application.
I think a workaround could be to pick a random standard icon and check its filename and if it ends with -symbolic
, then use symbolic icons in the app too, but it's only a workaround.
Not needing to use -gtk-icon-style:symbolic;
in the applications will be the best.