Page 1 of 1

Simple indication for read-only files

Posted: 30 Sep 2010 17:36
by phitsc
I'd like to have a simple indication for read-only files. I find the Attr column too cluttered and the Color Filter to "in-your-face" for the purpose.

I have suggestions, but none of them seem any good:
- extend Color Filter to be able to set font style, so I could make read-only files italics. Don't know if it would be subtle enough though.
- make Attr column user configurable. I really don't care about anything but R in that column as the ones important to me have some other means of indication (like hidden or directory)
- add Uber-column that shows the result of a script that gets the respective list item as a parameter so I could check its read-only attribute and return the respective result (which means a script would run for every single item in the list, which is probably not such a good idea)

Re: Simple indication for read-only files

Posted: 30 Sep 2010 22:24
by zer0
My knee-jerk reaction was that this should be possible via a VF, but upon further research I could not see a way (an idea for a wish here ;)). Short of wishing for it, I'd write a script that would loop through all files in the current list, pull AttributesDescription using property() SC and search the string for R. It's a complicated approach, so I'm hoping that there is an easier way :|

Re: Simple indication for read-only files

Posted: 30 Sep 2010 22:31
by SkyFrontier
...specially for those of us who are into reading and editing files copied off of optical media.

Re: Simple indication for read-only files

Posted: 05 Oct 2010 08:34
by phitsc
Just for clarification: what I would like to have is an easier way to spot read-only files. The reason being so I know which files I have to svn lock before I open them for editing.

Re: Simple indication for read-only files

Posted: 05 Oct 2010 08:44
by admin
phitsc wrote:Just for clarification: what I would like to have is an easier way to spot read-only files. The reason being so I know which files I have to svn lock before I open them for editing.
I don't understand your problems with Color Filter. You can use colors that are not in-your-face but still recognizable enough.

Re: Simple indication for read-only files

Posted: 05 Oct 2010 08:49
by phitsc
admin wrote:
phitsc wrote:Just for clarification: what I would like to have is an easier way to spot read-only files. The reason being so I know which files I have to svn lock before I open them for editing.
I don't understand your problems with Color Filter. You can use colors that are not in-your-face but still recognizable enough.
Yeah, maybe I'll have to play around with them a bit.