To not need rebuild gtk3 with changes yourself like I did, then you need download and place the theme files from git as a new theme in deluge, adjust and enable. You need change name of theme, because if defining to use win32 theme, then built-in version is used, as reserved keyword, just like adwaita, and so to get deluge(gtk3) to see and use your changed theme-files, you need change name of folder(hence theme too) and call that theme with it's new given name(from settings.ini).
For win32 theme, now called win32x by me, then font size and type is adjusted on line 25 and 26 of file 'gtk-win32-base.css'. The 'gtk-font-name' and 'gtk-font-size' fields doesn't work for that theme from settings.ini, as gets overwritten by theme itself duing initialization. I already included my fix for better readability of unfocused selection fields, to not loose that when switching away from built-in version.
Remember, win32 and adwaita calls built-in versions, and win32x and adwaitax calls the modified by you versions(from settings.ini).
When finished, you need copy that changed folder, after you've made changes, to safe place, and recopy it over to right place after upgrading deluge with new version, unfortunetly, to not loose modifications.
Anyway, extract one or both archives into 'Install-dir\data\share\themes', so it features folder(s) ending in x there, and a 'gtk-3.0' folder right under it, with theme files(*.css etc) in it.
Then edit following file to call theme wanted: 'install-dir\data\etc\gtk-3.0\settings.ini'
Code: Select all
[Settings]
gtk-theme-name=win32x
Code: Select all
[Settings]
gtk-theme-name=adwaitax
Code: Select all
[Settings]
gtk-theme-name=adwaitax
gtk-application-prefer-dark-theme=true
adwaitax theme: http://s000.tinyupload.com/index.php?fi ... 9297230905
Edit:
There is seemingly something wrong in general with how gvsbuild builds the adwaita-icon-theme, as it even with the reverted working version has always complained about some missing png's during building, but just warnings and not actual errors which would stop the building completely. I didn't bother to report it, because as far as I could see made no difference, but I just now discovered where it does make a difference but isn't a usual use-case though.
Gvsbuild doesn't build the actions folder with png's in the 10 or so folders for different icon-sizes from actions folder, in sizes above around 16x16. It does build them in newest version, but have the other error of replaced icon files. Anyway, It will only be an issue in deluge if trying to manually change a theme to use bigger than normal buttons for the toolbar and wanting adwaita-icon-theme also for that. If doing that, then icons will still come through, but just from the hicolor backup fallback icon theme in gtk3. I'm going to report also this on gvsbuild, but as said it's not an issue for us, unless changing something in a theme away from default. I could also just copy over the missing folders with pngs from the working linux package I have installed here, but as not an issue normally, then I will not do that and instead wait for getting it fixed upstream.
@PhiliP and others interested in toolbar icons and sizes
If one want's to see if they like the hicolor icon theme better, then strangely I couldn't get it to show from calling it from settings.ini, so maybe it only works as fallback only, and I didn't bother looking it up honestly, to lazy right now, as messed with this to long already But I found that if you rename a specific folder then it comes forward, so if e.g. adding a '-disabled' or '-off' or whatever, to the name, then it comes through. The folder is: 'Install-dir\data\share\icons\adwaita\scalable'. Then a very easy way to get bigger icons, though makes more icons bigger e.g. the bottom bar too, but if can live with that, then rename again with '-off' or whatever on: 'Install-dir\data\share\icons\adwaita\16x16'. Even bigger with doing also this on the '22x22' and '24x24' folders. If changing mind, then rename back all folders afterwards. Note, if the issue I mentioned above with missing pngs wasen't there, then the bigger icons would be from the normal adwaita-icon-theme, and not from the hicolor fallback icon theme, but I can send you a zip of the missing pngs if needed, which I think will work to get the usual icons instead there, just bigger, or so i'm guessing, haven't tried yet, but keep in mind it makes other icons bigger too and not only toolbar, e.g. bottom bar and also in icon in the header-bar or how it's called etc. Here's some shots btw. First is the fallback hicolor theme, at same size, and second is bigger icons and second is even bigger, as detailed in my instructions above: