aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-filter-bar.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-02-25 18:56:33 +0800
committerChris Toshok <toshok@src.gnome.org>2002-02-25 18:56:33 +0800
commit26411433698a528c1b94851a7dcf8a950b4d24f0 (patch)
tree3a970d4d5aca50d8e869b490790eeea3797bd76d /widgets/misc/e-filter-bar.c
parentd1401d65e1f3bfdf0bbe70b52b8164793cc9fbc2 (diff)
downloadgsoc2013-evolution-26411433698a528c1b94851a7dcf8a950b4d24f0.tar
gsoc2013-evolution-26411433698a528c1b94851a7dcf8a950b4d24f0.tar.gz
gsoc2013-evolution-26411433698a528c1b94851a7dcf8a950b4d24f0.tar.bz2
gsoc2013-evolution-26411433698a528c1b94851a7dcf8a950b4d24f0.tar.lz
gsoc2013-evolution-26411433698a528c1b94851a7dcf8a950b4d24f0.tar.xz
gsoc2013-evolution-26411433698a528c1b94851a7dcf8a950b4d24f0.tar.zst
gsoc2013-evolution-26411433698a528c1b94851a7dcf8a950b4d24f0.zip
preserve behavior - hook search_activated signal to the same function as
2002-02-24 Chris Toshok <toshok@ximian.com> * e-filter-bar.c (init): preserve behavior - hook search_activated signal to the same function as query_changed. * e-search-bar.c (emit_search_activated): new function. (entry_activated_cb): use emit_search_activated instead of emit_query_changed. (subitem_activated_cb): same. (activate_button_clicked_cb): same. (class_init): add the search_activated signal. (idle_activate_hack): rename idle_change_hack to this, and emit_search_activated. (e_search_bar_construct): idle_change_hack -> idle_activate_hack. (e_search_bar_set_subitem_id): emit_search_activated instead of emit_query_changed. (e_search_bar_set_text): same. * e-search-bar.h (struct _ESearchBarClass): add a search_activated signal. svn path=/trunk/; revision=15827
Diffstat (limited to 'widgets/misc/e-filter-bar.c')
-rw-r--r--widgets/misc/e-filter-bar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index fa0c756df5..9ff4c55aa0 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -587,6 +587,7 @@ init (EFilterBar *efb)
{
gtk_signal_connect (GTK_OBJECT (efb), "menu_activated", menubar_activated, NULL);
gtk_signal_connect (GTK_OBJECT (efb), "query_changed", option_changed, NULL);
+ gtk_signal_connect (GTK_OBJECT (efb), "search_activated", option_changed, NULL);
efb->menu_rules = g_ptr_array_new ();
efb->option_rules = g_ptr_array_new ();