Ticket #4183: rotate-shortcut.diff

File rotate-shortcut.diff, 973 bytes (added by humdinger, 15 years ago)

ALT+R: "Rotate Indices Right", ALT+SHIFT+R: "Rotate Indices Left".

  • src/apps/icon-o-matic/gui/PathListView.cpp

     
    737737    fDuplicateMI = new BMenuItem("Duplicate", new BMessage(MSG_DUPLICATE));
    738738    fReverseMI = new BMenuItem("Reverse", new BMessage(MSG_REVERSE));
    739739    fCleanUpMI = new BMenuItem("Clean Up", new BMessage(MSG_CLEAN_UP));
     740    fRotateIndicesRightMI = new BMenuItem("Rotate Indices Right",
     741        new BMessage(MSG_ROTATE_INDICES_CCW), 'R');
    740742    fRotateIndicesLeftMI = new BMenuItem("Rotate Indices Left",
    741         new BMessage(MSG_ROTATE_INDICES_CW), 'R');
    742     fRotateIndicesRightMI = new BMenuItem("Rotate Indices Right",
    743         new BMessage(MSG_ROTATE_INDICES_CCW), 'R', B_SHIFT_KEY);
     743        new BMessage(MSG_ROTATE_INDICES_CW), 'R', B_SHIFT_KEY);
    744744    fRemoveMI = new BMenuItem("Remove", new BMessage(MSG_REMOVE));
    745745
    746746    fMenu->AddItem(fAddMI);