Menu

#717 Customisation of shell directory background contextual menu

0_-_Minor
open
nobody
5
2012-09-15
2009-06-10
No

The shell directory background contextual menu (registered at HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\TortoiseCVS) is generated by TortoiseShell.dll but is apparently not in TortoiseMenus.config (nor could I find it in the dll itself). This is the menu one gets when right-clicking on the background of a directory window. I needed to change the two items ("CVS Chec&kout..." and "C&VS") to avoid accelerator key conflicts with Tortoise SVN (which also grabs the "k") and the shell itself (which assigns "v" to the "View" menu). My choice would be "CVS C&heckout..." and "&CVS".

Discussion

  • Daniel U. Thibault

    Screen shot of the menu in question

     
  • Torsten Martinsen

    'Checkout' is defined here:

    ITEM
    "CVSCheckOut"
    "Chec&kout..."
    ( EXACTLY_ONE TYPE_DIRECTORY TYPE_NOWHERE_NEAR_CVS )
    "Retrieve a fresh module from a CVS repository"
    "checkout"

    The name of the submenu can be changed through the registry: HKLM/Software/TortoiseCVS/SubMenuName

     
  • Daniel U. Thibault

    The registry string value does not appear by default; creating it works as advertised. A note to this effect (how is one supposed to guess otherwise?) should imperatively be added to the TortoiseMenus.config comments.

    Remarkably, creating the key has an immediate effect on the contextual menu, whereas changing the CVSCheckOut item as indicated requires that the shell be restarted (this is why I thought that string was inneffectual earlier). This is something else that ought to be added to the TortoiseMenus.config comments.

     

Log in to post a comment.

MongoDB Logo MongoDB