diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 0a505eb57..41a36ab64 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -708,6 +708,9 @@ theme_adium_find_previous (EmpathyChatView *view, const gchar *search_criteria, gboolean new_search) { + if (new_search) { + webkit_web_view_unmark_text_matches (WEBKIT_WEB_VIEW (view)); + } return webkit_web_view_search_text (WEBKIT_WEB_VIEW (view), search_criteria, FALSE, FALSE, TRUE); @@ -718,6 +721,9 @@ theme_adium_find_next (EmpathyChatView *view, const gchar *search_criteria, gboolean new_search) { + if (new_search) { + webkit_web_view_unmark_text_matches (WEBKIT_WEB_VIEW (view)); + } return webkit_web_view_search_text (WEBKIT_WEB_VIEW (view), search_criteria, FALSE, TRUE, TRUE); |