[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Re: "Update to Revision" doesn't count as a modification

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-05-10 17:52:44 CEST

Fernando P. Nájera Cano wrote:

> I think there is another option. When you install Visual Studio .NET
> 2003 and 2005, the .sln files get associated to something? that makes
> the icon to change depending on the contents! If .sln file is from
> 2003, there is one icon with "7.1" on it, and if it is from 2005,
> there is another one with "8".

Those are the icon handlers, not the overlay handlers. Those only work
for specific file extensions (like *.sln).
We can't use them, because we'd have to register every possible file
extension to make this 'work' - which is simply not possible (that would
increase the registry over it's limits).

> So, that "VSFileHandler.dll" library seems to be able to provide an
> icon for each different file.

The same applies to all *.exe files: they each get their own icon, which
is read by a special icon handler provided by the explorer.

> It seems cool, but maybe there is a problem here. That dll is
> attached to an specific class of files (sln) so the icon it provides
> can be fully generated. The idea of TSVN overlays is to repect current
> icons and add a symbol to them. I don't know if there is any way to
> write a custom-made .dll that "guess" what the icon was for that type,
> and modify it to add the overlay.

The shell doesn't provide such a mechanism. Sorry.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed May 10 17:53:00 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.