aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-adium.c
diff options
context:
space:
mode:
authorThomas Meire <blackskad@gmail.com>2010-01-17 18:29:49 +0800
committerThomas Meire <blackskad@gmail.com>2010-01-21 08:20:08 +0800
commit1d1701965496cb0d66a759cb4f7996de44a02044 (patch)
treeee3499159e87da157f7c2400a1823d49cacb78cc /libempathy-gtk/empathy-theme-adium.c
parenta988a27966b67140d57695edd32b8563cb3a2d03 (diff)
downloadgsoc2013-empathy-1d1701965496cb0d66a759cb4f7996de44a02044.tar
gsoc2013-empathy-1d1701965496cb0d66a759cb4f7996de44a02044.tar.gz
gsoc2013-empathy-1d1701965496cb0d66a759cb4f7996de44a02044.tar.bz2
gsoc2013-empathy-1d1701965496cb0d66a759cb4f7996de44a02044.tar.lz
gsoc2013-empathy-1d1701965496cb0d66a759cb4f7996de44a02044.tar.xz
gsoc2013-empathy-1d1701965496cb0d66a759cb4f7996de44a02044.tar.zst
gsoc2013-empathy-1d1701965496cb0d66a759cb4f7996de44a02044.zip
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);
}