summaryrefslogtreecommitdiff
path: root/libempathy-gtk/empathy-theme-adium.c
diff options
context:
space:
mode:
authorThomas Meire <blackskad@gmail.com>2010-01-17 11:29:49 +0100
committerThomas Meire <blackskad@gmail.com>2010-01-21 01:20:08 +0100
commit1d1701965496cb0d66a759cb4f7996de44a02044 (patch)
treeee3499159e87da157f7c2400a1823d49cacb78cc /libempathy-gtk/empathy-theme-adium.c
parenta988a27966b67140d57695edd32b8563cb3a2d03 (diff)
downloadempathy-1d1701965496cb0d66a759cb4f7996de44a02044.tar.gz
added case sensitive search for adium themes (reverted previous commit)
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r--libempathy-gtk/empathy-theme-adium.c18
1 files changed, 8 insertions, 10 deletions
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);
}