[project @ 2005-07-30 15:11:22 by adrianl]

Fix removal of 'Not found' message for non-RO5 systems

svn path=/import/netsurf/; revision=1829
This commit is contained in:
Adrian Lees 2005-07-30 15:11:23 +00:00
parent e37acd498f
commit 56b06d8449
5 changed files with 39 additions and 7 deletions

View File

@ -284,6 +284,15 @@ PrintSheetFilled:Druckseite
PrintSheetsFilled:Druckseiten
# Find text user interface tokens
# ===============================
#
# This section contains tokens which are used in the find text
# dialog box.
#
NotFound:Nicht gefunden
# Content
# =======
#

View File

@ -284,6 +284,15 @@ PrintSheetFilled:sheet is filled
PrintSheetsFilled:sheets are filled
# Find text user interface tokens
# ===============================
#
# This section contains tokens which are used in the find text
# dialog box.
#
NotFound:Not found
# Content
# =======
#

View File

@ -284,6 +284,15 @@ PrintSheetFilled:feuille remplie
PrintSheetsFilled:feuilles remplies
# Find text user interface tokens
# ===============================
#
# This section contains tokens which are used in the find text
# dialog box.
#
NotFound:Non trouvé
# Content
# =======
#

View File

@ -285,6 +285,15 @@ PrintSheetFilled:pagina
PrintSheetsFilled:pagina's
# Find text user interface tokens
# ===============================
#
# This section contains tokens which are used in the find text
# dialog box.
#
NotFound:Vinden niet
# Content
# =======
#

View File

@ -27,6 +27,7 @@
#include "netsurf/riscos/menus.h"
#include "netsurf/riscos/wimp.h"
#include "netsurf/utils/log.h"
#include "netsurf/utils/messages.h"
#include "netsurf/utils/utils.h"
@ -569,13 +570,8 @@ bool gui_search_term_highlighted(struct gui_window *g, struct box *box,
void show_status(bool found)
{
os_error *error = xwimp_set_icon_state(dialog_search, ICON_SEARCH_STATUS,
found ? wimp_ICON_DELETED : 0, wimp_ICON_DELETED);
if (error) {
LOG(("xwimp_set_icon_state: 0x%x: %s",
error->errnum, error->errmess));
warn_user("WimpError", error->errmess);
}
ro_gui_set_icon_string(dialog_search, ICON_SEARCH_STATUS,
found ? "" : messages_get("Notfound"));
}
#endif