Page 3 of 3
Re: Branch View toolbar icon
Posted: 21 Mar 2019 15:53
by m48tx
It appears the icon has changed to something nice in version 114. Thank you very much, Don.
Re: Branch View toolbar icon
Posted: 21 Mar 2019 16:29
by sj515064
Preferences regarding icons are rather subjective.
I agree with highend that a SC which changes the icon in only one session is less useful.
The simple solution to this problem is what has been mentioned by SammaySarkar, that is, enabling users to specify custom icon files in the ini, which will then be read upon startup. And using a tweak to point to a folder is a good idea!
Re: Branch View toolbar icon
Posted: 21 Mar 2019 16:44
by Borut
Is there a mechanism for defining that a certain script should be executed at start time?
Does patchimage() support xyplorer native variables in the [file] argument?
Re: Branch View toolbar icon
Posted: 21 Mar 2019 16:46
by highend
Is there a mechanism for defining that a certain script should be executed at start time?
/script="..."?
Re: Branch View toolbar icon
Posted: 21 Mar 2019 17:26
by eil
admin wrote: ↑21 Mar 2019 14:36
Better idea: You can state folder (relative to <xydata>) in a new tweak, e.g. "
PatchImagesPath=Patch", and place image files there, one for each button you want to patch, e.g. "flatview.png". That's it. XY handles the rest on startup.
rather good solution!
though it will be cool to have Toolbar Themes one day too.

Re: Branch View toolbar icon
Posted: 21 Mar 2019 19:29
by admin
PatchImagesPath tweak done.
In case you want the cherries back:
Re: Branch View toolbar icon
Posted: 21 Mar 2019 21:15
by Papoulka
By chance, a few days ago, I finally cleaned up years of cruft from my long-neglected XY icon folder. And around then picked up v19.80.0111 just to stay current, with hardly a glance at the change log.
Some time later I noticed the cherries. My icon cleanup had somehow corrupted a built-in image! Which had been there a long time... and was perfectly good... Seemed impossible but there it was.
Much troubleshooting later I gave up. Must be some weird .ini file issue, and hacking around in there could create worse problems. Decided to live with it.
Re: Branch View toolbar icon
Posted: 22 Mar 2019 07:39
by bdeshi
Don, it will be great if separate images can be defined for dark mode. Here's a possible option:
Code: Select all
* Patch Internal Images: Now you can assign images exclusive to dark mode.
Just add "d" to the image key, separated by a period. For example, these
files both work for the Branch View button; the first one applies when
dark mode is enabled, the second one otherwise:
flatview.d.png
flatview.png
The flag for dark mode comes before size definition:
flatview.d,1-Cherries-16 x 16.png
flatview.d,2-Cherries-24 x 24.png
Please?
Re: Branch View toolbar icon
Posted: 22 Mar 2019 07:48
by admin
That would be a major effort I'm afraid. It's not impossible, but for now you have to find images that work in both modes.
