Reverted part of r37829, because using B_COPY to copy selected entries in the hitslist makes it impossible to copy the search string in the text box. Oops.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37850 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Joachim Seemer 2010-08-02 18:29:55 +00:00
parent 7bff797f8a
commit 70597da2b4
2 changed files with 3 additions and 2 deletions

View File

@ -291,7 +291,7 @@ void GrepWindow::MessageReceived(BMessage *message)
_OnTrimSelection();
break;
case B_COPY:
case MSG_COPY_TEXT:
_OnCopyText();
break;
@ -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(B_COPY), 'C');
B_TRANSLATE("Copy text to clipboard"), new BMessage(MSG_COPY_TEXT), 'B');
fRecurseLinks = new BMenuItem(
B_TRANSLATE("Follow symbolic links"), new BMessage(MSG_RECURSE_LINKS));

View File

@ -63,6 +63,7 @@ enum {
MSG_QUIT_NOW,
MSG_TRIM_SELECTION,
MSG_COPY_TEXT,
MSG_SELECT_IN_TRACKER,
MSG_SELECT_ALL,
MSG_OPEN_SELECTION