Drop data/pixmaps data/iconsets and use icon themes
Since gajim does not even use the proper directory for pixmaps, I'd like to request moving to themes.
Both GTK/GNOME and KDE make use of /usr/share/icons and there is a special folder called hicolor. hicolor is the default fallback dir if an icon could not be found elsewhere and that's where applications should drop their stock icons (/usr/share/icons/hicolor/XxY/apps/
). All icons should be prefixed with application's name (ie. gajim.png, gajim-error.svg, etc.).
If you want to keep some stuff unthemable, things like the about image should be moved to /usr/share/pixmaps/gajim
.
- It would make gajim easily themable with the rest of the desktop
- Accessing standard icons is easier as you don't have to know the size, extension or format (which means less code as GTK takes care of that, you only specify the desired size and GTK picks the best match)
- You don't care which theme is currently in use so you don't have to add another way to pick the right iconset in the UI
- Could also be done on Windows as GTK provides these directories as well
I'd also like to see the roster icons to be a part of the theme (like in Nautilus you don't have to provide your own iconset for folders and files). Desktop integrations is the main reason I choose Gajim over Psi.