[empathy] added checkbox callback



commit 20941452d76810e181d91510168a7204c986edbd
Author: Thomas Meire <blackskad gmail com>
Date:   Sun Jan 17 12:25:40 2010 +0100

    added checkbox callback

 libempathy-gtk/empathy-search-bar.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-search-bar.c b/libempathy-gtk/empathy-search-bar.c
index 1a76582..dfd680c 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]