Branch View toolbar icon

Features wanted...
m48tx
Posts: 285
Joined: 07 May 2010 18:07

Re: Branch View toolbar icon

Post by m48tx »

It appears the icon has changed to something nice in version 114. Thank you very much, Don.

sj515064
Posts: 51
Joined: 21 Feb 2019 06:14

Re: Branch View toolbar icon

Post 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!

Borut
Posts: 1412
Joined: 19 Oct 2010 19:29

Re: Branch View toolbar icon

Post 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?
Win 10 Pro 64bit

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Branch View toolbar icon

Post by highend »

Is there a mechanism for defining that a certain script should be executed at start time?
/script="..."?
One of my scripts helped you out? Please donate via Paypal

eil
Posts: 1617
Joined: 13 Jan 2011 19:44

Re: Branch View toolbar icon

Post 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. :whistle:
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Branch View toolbar icon

Post by admin »

PatchImagesPath tweak done. 8)

In case you want the cherries back:
Attachments
flatview-Cherries-24 x 24.png
flatview-Cherries-24 x 24.png (1.07 KiB) Viewed 1839 times

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Branch View toolbar icon

Post 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.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Branch View toolbar icon

Post 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?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Branch View toolbar icon

Post 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. :|

Post Reply