aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-search-bar.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-search-bar.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-search-bar.c')
-rw-r--r--libempathy-gtk/empathy-search-bar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-search-bar.c b/libempathy-gtk/empathy-search-bar.c
index 1bf3c54e7..42c8716fb 100644
--- a/libempathy-gtk/empathy-search-bar.c
+++ b/libempathy-gtk/empathy-search-bar.c
@@ -127,7 +127,7 @@ empathy_search_bar_show (EmpathySearchBar *self)
EmpathySearchBarPriv *priv = GET_PRIV (self);
search = gtk_editable_get_chars (GTK_EDITABLE (priv->search_entry), 0, -1);
- empathy_chat_view_highlight (priv->chat_view, search);
+ empathy_chat_view_highlight (priv->chat_view, search, TRUE);
empathy_search_bar_update_buttons (self, search);
/* grab the focus to the search entry */
@@ -143,7 +143,7 @@ empathy_search_bar_close_cb (GtkButton *button,
{
EmpathySearchBarPriv *priv = GET_PRIV (user_data);
- empathy_chat_view_highlight (priv->chat_view, "");
+ empathy_chat_view_highlight (priv->chat_view, "", FALSE);
gtk_widget_hide (GTK_WIDGET (user_data));
/* give the focus back to the focus-chain with the chat view */
@@ -168,7 +168,7 @@ empathy_search_bar_search (EmpathySearchBar *self,
/* highlight & search */
// TODO: add case parameter
- empathy_chat_view_highlight (priv->chat_view, search);
+ empathy_chat_view_highlight (priv->chat_view, search, match_case);
if (next)
{
found = empathy_chat_view_find_next (priv->chat_view, search, new_search);