Ticket #5586: 0001-Fix-5586-Add-missing-shortcuts-to-FilePanel.patch

File 0001-Fix-5586-Add-missing-shortcuts-to-FilePanel.patch, 1.1 KB (added by diver, 13 years ago)
  • src/kits/tracker/FilePanelPriv.cpp

    From 741a13fc9a3c9976eb5f13a64a3054422890ed4f Mon Sep 17 00:00:00 2001
    From: Reznikov Sergei <diver@gelios.net>
    Date: Sat, 14 Apr 2012 16:44:19 +0400
    Subject: [PATCH] Fix #5586: Add missing shortcuts to FilePanel.
    
    ---
     src/kits/tracker/FilePanelPriv.cpp |    3 +++
     1 files changed, 3 insertions(+), 0 deletions(-)
    
    diff --git a/src/kits/tracker/FilePanelPriv.cpp b/src/kits/tracker/FilePanelPriv.cpp
    index 9b360c7..fbf1e88 100644
    a b TFilePanel::Init(const BMessage *)  
    736736
    737737    AddShortcut('W', B_COMMAND_KEY, new BMessage(kCancelButton));
    738738    AddShortcut('H', B_COMMAND_KEY, new BMessage(kSwitchToHome));
     739    AddShortcut('A', B_COMMAND_KEY | B_SHIFT_KEY, new BMessage(kShowSelectionWindow));
     740    AddShortcut('A', B_COMMAND_KEY, new BMessage(B_SELECT_ALL), PoseView());
     741    AddShortcut('S', B_COMMAND_KEY, new BMessage(kInvertSelection), PoseView());
    739742    AddShortcut(B_DOWN_ARROW, B_COMMAND_KEY, new BMessage(kOpenDir));
    740743    AddShortcut(B_DOWN_ARROW, B_COMMAND_KEY | B_OPTION_KEY, new BMessage(kOpenDir));
    741744    AddShortcut(B_UP_ARROW, B_COMMAND_KEY, new BMessage(kOpenParentDir));