diff options
author | Thomas Meire <blackskad@gmail.com> | 2010-01-17 18:29:49 +0800 |
---|---|---|
committer | Thomas Meire <blackskad@gmail.com> | 2010-01-21 08:20:08 +0800 |
commit | 1d1701965496cb0d66a759cb4f7996de44a02044 (patch) | |
tree | ee3499159e87da157f7c2400a1823d49cacb78cc /libempathy-gtk/empathy-chat-text-view.c | |
parent | a988a27966b67140d57695edd32b8563cb3a2d03 (diff) | |
download | gsoc2013-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-chat-text-view.c')
-rw-r--r-- | libempathy-gtk/empathy-chat-text-view.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-chat-text-view.c b/libempathy-gtk/empathy-chat-text-view.c index 278a63f42..14c78ce25 100644 --- a/libempathy-gtk/empathy-chat-text-view.c +++ b/libempathy-gtk/empathy-chat-text-view.c @@ -838,7 +838,8 @@ chat_text_view_clear (EmpathyChatView *view) static gboolean chat_text_view_find_previous (EmpathyChatView *view, const gchar *search_criteria, - gboolean new_search) + gboolean new_search, + gboolean match_case) { EmpathyChatTextViewPriv *priv; GtkTextBuffer *buffer; @@ -891,6 +892,7 @@ chat_text_view_find_previous (EmpathyChatView *view, priv->find_last_direction = FALSE; + /* FIXME: doesn't respect match_case */ found = empathy_text_iter_backward_search (&iter_at_mark, search_criteria, &iter_match_start, @@ -909,7 +911,8 @@ chat_text_view_find_previous (EmpathyChatView *view, priv->find_wrapped = TRUE; result = chat_text_view_find_previous (view, search_criteria, - FALSE); + FALSE, + match_case); priv->find_wrapped = FALSE; } @@ -953,7 +956,8 @@ chat_text_view_find_previous (EmpathyChatView *view, static gboolean chat_text_view_find_next (EmpathyChatView *view, const gchar *search_criteria, - gboolean new_search) + gboolean new_search, + gboolean match_case) { EmpathyChatTextViewPriv *priv; GtkTextBuffer *buffer; @@ -1006,6 +1010,7 @@ chat_text_view_find_next (EmpathyChatView *view, priv->find_last_direction = TRUE; + /* FIXME: doesn't respect match_case */ found = empathy_text_iter_forward_search (&iter_at_mark, search_criteria, &iter_match_start, @@ -1024,7 +1029,8 @@ chat_text_view_find_next (EmpathyChatView *view, priv->find_wrapped = TRUE; result = chat_text_view_find_next (view, search_criteria, - FALSE); + FALSE, + match_case); priv->find_wrapped = FALSE; } |