Changeset 2225 for branches/eraser6/6.0


Ignore:
Timestamp:
8/4/2010 12:17:00 AM (22 months ago)
Author:
lowjoel
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/ShellExt/CtxMenu.cpp

    r2215 r2225  
    259259            return MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, 0); 
    260260 
     261        //If the flags include CMF_VERBSONLY then we shouldn't do anything as we do not 
     262        //want to operate on the target of a shortcut implicitly. 
     263        if (uFlags & CMF_VERBSONLY) 
     264            return MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, 0); 
     265 
    261266        //First, create and populate a submenu. 
    262267        UINT uID = uidFirstCmd; 
Note: See TracChangeset for help on using the changeset viewer.