aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-search-bar.c
diff options
context:
space:
mode:
authorThomas Meire <blackskad@gmail.com>2010-01-17 19:25:40 +0800
committerThomas Meire <blackskad@gmail.com>2010-01-21 08:20:08 +0800
commit20941452d76810e181d91510168a7204c986edbd (patch)
tree2045a8d8b5bfeb2f06b62cf0df374d7a069b2db8 /libempathy-gtk/empathy-search-bar.c
parent1d1701965496cb0d66a759cb4f7996de44a02044 (diff)
downloadgsoc2013-empathy-20941452d76810e181d91510168a7204c986edbd.tar
gsoc2013-empathy-20941452d76810e181d91510168a7204c986edbd.tar.gz
gsoc2013-empathy-20941452d76810e181d91510168a7204c986edbd.tar.bz2
gsoc2013-empathy-20941452d76810e181d91510168a7204c986edbd.tar.lz
gsoc2013-empathy-20941452d76810e181d91510168a7204c986edbd.tar.xz
gsoc2013-empathy-20941452d76810e181d91510168a7204c986edbd.tar.zst
gsoc2013-empathy-20941452d76810e181d91510168a7204c986edbd.zip
added checkbox callback
Diffstat (limited to 'libempathy-gtk/empathy-search-bar.c')
-rw-r--r--libempathy-gtk/empathy-search-bar.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-search-bar.c b/libempathy-gtk/empathy-search-bar.c
index 1a76582c2..dfd680ca5 100644
--- a/libempathy-gtk/empathy-search-bar.c
+++ b/libempathy-gtk/empathy-search-bar.c
@@ -215,6 +215,13 @@ empathy_search_bar_previous_cb (GtkButton *button,
}
static void
+empathy_search_bar_match_case_toggled (GtkButton *button,
+ gpointer user_data)
+{
+ empathy_search_bar_search (EMPATHY_SEARCH_BAR (user_data), TRUE, FALSE);
+}
+
+static void
empathy_search_bar_init (EmpathySearchBar * self)
{
gchar *filename;
@@ -245,6 +252,7 @@ empathy_search_bar_init (EmpathySearchBar * self)
"search_entry", "changed", empathy_search_bar_entry_changed,
"search_previous", "clicked", empathy_search_bar_previous_cb,
"search_next", "clicked", empathy_search_bar_next_cb,
+ "search_match_case", "toggled", empathy_search_bar_match_case_toggled,
NULL);
gtk_container_add (GTK_CONTAINER (self), internal);