aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-search-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-search-bar.c')
-rw-r--r--libempathy-gtk/empathy-search-bar.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-search-bar.c b/libempathy-gtk/empathy-search-bar.c
index 42c8716fb..1a76582c2 100644
--- a/libempathy-gtk/empathy-search-bar.c
+++ b/libempathy-gtk/empathy-search-bar.c
@@ -167,15 +167,20 @@ empathy_search_bar_search (EmpathySearchBar *self,
GTK_TOGGLE_BUTTON (priv->search_match_case));
/* highlight & search */
- // TODO: add case parameter
empathy_chat_view_highlight (priv->chat_view, search, match_case);
if (next)
{
- found = empathy_chat_view_find_next (priv->chat_view, search, new_search);
+ found = empathy_chat_view_find_next (priv->chat_view,
+ search,
+ new_search,
+ match_case);
}
else
{
- found = empathy_chat_view_find_previous (priv->chat_view, search, new_search);
+ found = empathy_chat_view_find_previous (priv->chat_view,
+ search,
+ new_search,
+ match_case);
}
/* (don't) display the not found label */