Ticket #6406: TextSearch_shortcut.diff

File TextSearch_shortcut.diff, 1.1 KB (added by humdinger, 9 years ago)

Change copy shortcut from 'B' to 'C'

  • src/apps/text_search/Model.h

     
    6363    MSG_QUIT_NOW,
    6464   
    6565    MSG_TRIM_SELECTION,
    66     MSG_COPY_TEXT,
    6766    MSG_SELECT_IN_TRACKER,
    6867    MSG_SELECT_ALL,
    6968    MSG_OPEN_SELECTION
  • src/apps/text_search/GrepWindow.cpp

     
    291291            _OnTrimSelection();
    292292            break;
    293293
    294         case MSG_COPY_TEXT:
     294        case B_COPY:
    295295            _OnCopyText();
    296296            break;
    297297
     
    455455        B_TRANSLATE("Show files in Tracker"), new BMessage(MSG_SELECT_IN_TRACKER), 'K');
    456456
    457457    fCopyText = new BMenuItem(
    458         B_TRANSLATE("Copy text to clipboard"), new BMessage(MSG_COPY_TEXT), 'B');
     458        B_TRANSLATE("Copy text to clipboard"), new BMessage(B_COPY), 'C');
    459459
    460460    fRecurseLinks = new BMenuItem(
    461461        B_TRANSLATE("Follow symbolic links"), new BMessage(MSG_RECURSE_LINKS));