From 279291ae6249ea78b2b16c86ce1fc665666b4b4b Mon Sep 17 00:00:00 2001 From: Joachim Seemer Date: Sat, 31 Jul 2010 18:41:32 +0000 Subject: [PATCH] Changed some menu strings and the shortcut to copy the selected text to the clipboard from B to C. Fixes #6404 and #6406. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37829 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/text_search/GrepWindow.cpp | 8 ++++---- src/apps/text_search/Model.h | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/apps/text_search/GrepWindow.cpp b/src/apps/text_search/GrepWindow.cpp index 94fb4fc59e..c2ae84386c 100644 --- a/src/apps/text_search/GrepWindow.cpp +++ b/src/apps/text_search/GrepWindow.cpp @@ -291,7 +291,7 @@ void GrepWindow::MessageReceived(BMessage *message) _OnTrimSelection(); break; - case MSG_COPY_TEXT: + case B_COPY: _OnCopyText(); break; @@ -428,7 +428,7 @@ GrepWindow::_CreateMenus() B_TRANSLATE("New window"), new BMessage(MSG_NEW_WINDOW), 'N'); fOpen = new BMenuItem( - B_TRANSLATE("Set which files to search"), new BMessage(MSG_OPEN_PANEL), 'F'); + B_TRANSLATE("Set target" B_UTF8_ELLIPSIS), new BMessage(MSG_OPEN_PANEL), 'F'); fClose = new BMenuItem( B_TRANSLATE("Close"), new BMessage(B_QUIT_REQUESTED), 'W'); @@ -455,7 +455,7 @@ GrepWindow::_CreateMenus() B_TRANSLATE("Show files in Tracker"), new BMessage(MSG_SELECT_IN_TRACKER), 'K'); fCopyText = new BMenuItem( - B_TRANSLATE("Copy text to clipboard"), new BMessage(MSG_COPY_TEXT), 'B'); + B_TRANSLATE("Copy text to clipboard"), new BMessage(B_COPY), 'C'); fRecurseLinks = new BMenuItem( B_TRANSLATE("Follow symbolic links"), new BMessage(MSG_RECURSE_LINKS)); @@ -464,7 +464,7 @@ GrepWindow::_CreateMenus() B_TRANSLATE("Look in sub-folders"), new BMessage(MSG_RECURSE_DIRS)); fSkipDotDirs = new BMenuItem( - B_TRANSLATE("Skip sub-folders starting with a dot"), new BMessage(MSG_SKIP_DOT_DIRS)); + B_TRANSLATE("Skip folders starting with a dot"), new BMessage(MSG_SKIP_DOT_DIRS)); fCaseSensitive = new BMenuItem( B_TRANSLATE("Case-sensitive"), new BMessage(MSG_CASE_SENSITIVE)); diff --git a/src/apps/text_search/Model.h b/src/apps/text_search/Model.h index 81956d8c13..f1763ef992 100644 --- a/src/apps/text_search/Model.h +++ b/src/apps/text_search/Model.h @@ -63,7 +63,6 @@ enum { MSG_QUIT_NOW, MSG_TRIM_SELECTION, - MSG_COPY_TEXT, MSG_SELECT_IN_TRACKER, MSG_SELECT_ALL, MSG_OPEN_SELECTION