mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Fix for #82708 - Using Find doesn't alert user when completed searching
r=adamlock, sr=rpotts
This commit is contained in:
parent
e3560ba177
commit
6d588a866c
@ -947,7 +947,13 @@ LRESULT CBrowserView::OnFindMsg(WPARAM wParam, LPARAM lParam)
|
||||
PRBool didFind;
|
||||
nsresult rv = finder->FindNext(&didFind);
|
||||
|
||||
return (NS_SUCCEEDED(rv) && didFind);
|
||||
if(!didFind)
|
||||
{
|
||||
AfxMessageBox(IDS_SRCH_STR_NOT_FOUND);
|
||||
dlg->SetFocus();
|
||||
}
|
||||
|
||||
return (NS_SUCCEEDED(rv) && didFind);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -459,6 +459,7 @@ BEGIN
|
||||
IDS_ENCRYPTION_HIGH_GRADE "High-grade Encryption (%1% %2!d! bit)"
|
||||
IDS_ENCRYPTION_LOW_GRADE "Low-grade Encryption (%1% %2!d! bit)"
|
||||
IDS_ENCRYPTION_NONE "Connection Not Encrypted"
|
||||
IDS_SRCH_STR_NOT_FOUND "The text you entered was not found"
|
||||
END
|
||||
|
||||
STRINGTABLE PRELOAD DISCARDABLE
|
||||
|
@ -25,6 +25,7 @@
|
||||
#define IDS_ENCRYPTION_HIGH_GRADE 147
|
||||
#define IDS_ENCRYPTION_LOW_GRADE 148
|
||||
#define IDS_ENCRYPTION_NONE 149
|
||||
#define IDS_SRCH_STR_NOT_FOUND 150
|
||||
#define ID_URL_BAR 1001
|
||||
#define ID_PROG_BAR 1002
|
||||
#define IDC_PROMPT_ANSWER 1003
|
||||
|
Loading…
Reference in New Issue
Block a user