From 5d614ec3776bf2699a403f651595f10b29850687 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Tue, 25 Apr 2017 11:19:32 -0400 Subject: [PATCH] tracker: We now target only Haiku since the layout merge, so use B_REDO. --- src/kits/tracker/ContainerWindow.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/kits/tracker/ContainerWindow.cpp b/src/kits/tracker/ContainerWindow.cpp index 83e8bda59c..119e7a9a01 100644 --- a/src/kits/tracker/ContainerWindow.cpp +++ b/src/kits/tracker/ContainerWindow.cpp @@ -100,10 +100,6 @@ All rights reserved. #define B_TRANSLATION_CONTEXT "ContainerWindow" -const uint32 kRedo = 'REDO'; - // this is the same as B_REDO in Dano/Zeta/Haiku - - #ifdef _IMPEXP_BE _IMPEXP_BE #endif @@ -555,7 +551,7 @@ BContainerWindow::BContainerWindow(LockingList* list, // ToDo: remove me once we have undo/redo menu items // (that is, move them to AddShortcuts()) AddShortcut('Z', B_COMMAND_KEY, new BMessage(B_UNDO), this); - AddShortcut('Z', B_COMMAND_KEY | B_SHIFT_KEY, new BMessage(kRedo), this); + AddShortcut('Z', B_COMMAND_KEY | B_SHIFT_KEY, new BMessage(B_REDO), this); } @@ -1684,9 +1680,7 @@ BContainerWindow::MessageReceived(BMessage* message) FSUndo(); break; - //case B_REDO: - // only defined in Dano/Zeta/OpenBeOS - case kRedo: + case B_REDO: FSRedo(); break;