aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-search-bar.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-search-bar.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-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 */