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:
parent
7bff797f8a
commit
70597da2b4
|
@ -291,7 +291,7 @@ void GrepWindow::MessageReceived(BMessage *message)
|
||||||
_OnTrimSelection();
|
_OnTrimSelection();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case B_COPY:
|
case MSG_COPY_TEXT:
|
||||||
_OnCopyText();
|
_OnCopyText();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -455,7 +455,7 @@ GrepWindow::_CreateMenus()
|
||||||
B_TRANSLATE("Show files in Tracker"), new BMessage(MSG_SELECT_IN_TRACKER), 'K');
|
B_TRANSLATE("Show files in Tracker"), new BMessage(MSG_SELECT_IN_TRACKER), 'K');
|
||||||
|
|
||||||
fCopyText = new BMenuItem(
|
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(
|
fRecurseLinks = new BMenuItem(
|
||||||
B_TRANSLATE("Follow symbolic links"), new BMessage(MSG_RECURSE_LINKS));
|
B_TRANSLATE("Follow symbolic links"), new BMessage(MSG_RECURSE_LINKS));
|
||||||
|
|
|
@ -63,6 +63,7 @@ enum {
|
||||||
MSG_QUIT_NOW,
|
MSG_QUIT_NOW,
|
||||||
|
|
||||||
MSG_TRIM_SELECTION,
|
MSG_TRIM_SELECTION,
|
||||||
|
MSG_COPY_TEXT,
|
||||||
MSG_SELECT_IN_TRACKER,
|
MSG_SELECT_IN_TRACKER,
|
||||||
MSG_SELECT_ALL,
|
MSG_SELECT_ALL,
|
||||||
MSG_OPEN_SELECTION
|
MSG_OPEN_SELECTION
|
||||||
|
|
Loading…
Reference in New Issue