aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-adium.c
diff options
context:
space:
mode:
authorThomas Meire <blackskad@gmail.com>2010-01-17 06:41:32 +0800
committerThomas Meire <blackskad@gmail.com>2010-01-21 08:20:08 +0800
commitd128e3a36e43a08a9dfe4a2c42b9485e146faeae (patch)
treead57738003d41968d9f00a02740ff8321c462335 /libempathy-gtk/empathy-theme-adium.c
parent993766233887be988d3864c64be85c83989d42ad (diff)
downloadgsoc2013-empathy-d128e3a36e43a08a9dfe4a2c42b9485e146faeae.tar
gsoc2013-empathy-d128e3a36e43a08a9dfe4a2c42b9485e146faeae.tar.gz
gsoc2013-empathy-d128e3a36e43a08a9dfe4a2c42b9485e146faeae.tar.bz2
gsoc2013-empathy-d128e3a36e43a08a9dfe4a2c42b9485e146faeae.tar.lz
gsoc2013-empathy-d128e3a36e43a08a9dfe4a2c42b9485e146faeae.tar.xz
gsoc2013-empathy-d128e3a36e43a08a9dfe4a2c42b9485e146faeae.tar.zst
gsoc2013-empathy-d128e3a36e43a08a9dfe4a2c42b9485e146faeae.zip
added case sensitive highlighting for adium themes
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r--libempathy-gtk/empathy-theme-adium.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 0a9fb9830..0a505eb57 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -739,11 +739,12 @@ theme_adium_find_abilities (EmpathyChatView *view,
static void
theme_adium_highlight (EmpathyChatView *view,
- const gchar *text)
+ const gchar *text,
+ gboolean match_case)
{
webkit_web_view_unmark_text_matches (WEBKIT_WEB_VIEW (view));
webkit_web_view_mark_text_matches (WEBKIT_WEB_VIEW (view),
- text, FALSE, 0);
+ text, match_case, 0);
webkit_web_view_set_highlight_text_matches (WEBKIT_WEB_VIEW (view),
TRUE);
}