From 1d1701965496cb0d66a759cb4f7996de44a02044 Mon Sep 17 00:00:00 2001 From: Thomas Meire Date: Sun, 17 Jan 2010 11:29:49 +0100 Subject: added case sensitive search for adium themes (reverted previous commit) --- libempathy-gtk/empathy-theme-adium.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'libempathy-gtk/empathy-theme-adium.c') diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 41a36ab64..f57fe9531 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -706,26 +706,24 @@ theme_adium_clear (EmpathyChatView *view) static gboolean theme_adium_find_previous (EmpathyChatView *view, const gchar *search_criteria, - gboolean new_search) + gboolean new_search, + gboolean match_case) { - if (new_search) { - webkit_web_view_unmark_text_matches (WEBKIT_WEB_VIEW (view)); - } + /* FIXME: Doesn't respect new_search */ return webkit_web_view_search_text (WEBKIT_WEB_VIEW (view), - search_criteria, FALSE, + search_criteria, match_case, FALSE, TRUE); } static gboolean theme_adium_find_next (EmpathyChatView *view, const gchar *search_criteria, - gboolean new_search) + gboolean new_search, + gboolean match_case) { - if (new_search) { - webkit_web_view_unmark_text_matches (WEBKIT_WEB_VIEW (view)); - } + /* FIXME: Doesn't respect new_search */ return webkit_web_view_search_text (WEBKIT_WEB_VIEW (view), - search_criteria, FALSE, + search_criteria, match_case, TRUE, TRUE); } -- cgit v1.2.3