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

TortoiseOverlay icon prio (Was: Re: Not all overlays appear on Windows 7 with TSVN 1.6.7+)

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Wed, 17 Mar 2010 08:17:56 +0100

> I'm currently thinking of creating a patch for TortoiseOverlays, that
> iterates through registry Software\TortoiseOverlays, counting only the
> actually registered handlers there and use the actual number of handlers
> in the max slot calculation.
 
A suggestion: Maybe each installed client could add its prefered overlay priority to the registry. Then TortoiseOverlays could calculate what icons that should go first for any given combination of installed clients on a machine.
 
Each client would give a strictly ordered list of most important (lowest number) to least important (highest number) icon.
 
For example (just an example, real prios may differ):
 
TortoiseHG might order the overlays as:
0: Modified
1: Normal
2: Added
3: Unversioned
4: Ignored
5: Conflict
6: Deleted
7: Locked
8: ReadOnly
 
And TortoiseSVN:
0: Modified
1: Normal
2: Added
3: Conflict
4: Ignored
5: Locked
6: ReadOnly
7: Unversioned
8: Deleted
 
That would give a total priority of:
0: Modified
2 Normal
4: Added
8: Conflict
8: Ignored
10: Unversioned
12: Locked
14: ReadOnly
14: Deleted
 
Ties could be resolved by favouring TSVN:s choice. ;-)
 
This would give all clients that use TortoiseOverlay the posibility to ifluence the order of which the overlays should be dropped - thus giving the best possible usability for every installed client.
 
Hans-Emil

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2460927

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-17 08:18:07 CET

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.