Changeset 2226


Ignore:
Timestamp:
8/4/2010 12:18:51 AM (4 years ago)
Author:
lowjoel
Message:

Forward port from Eraser 6.0: Remove duplicate entries from the Context menu when right-clicking shortcuts: only the entry for the shortcut itself (not the target) will be shown.

Location:
trunk/eraser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser

  • trunk/eraser/Eraser.Shell/CtxMenu.cpp

    r2216 r2226  
    213213            return MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, 0); 
    214214 
     215        //If the flags include CMF_VERBSONLY then we shouldn't do anything as we do not 
     216        //want to operate on the target of a shortcut implicitly. 
     217        if (uFlags & CMF_VERBSONLY) 
     218            return MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, 0); 
     219 
    215220        //First, create and populate a submenu. 
    216221        UINT uID = uidFirstCmd; 
Note: See TracChangeset for help on using the changeset viewer.