aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.h
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-24 00:03:07 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-24 00:03:07 +0800
commitef539c50b7678a286964ee8051b4ce4127dc0837 (patch)
treee27cdea6d54152b57b1b17b91c3e87c3f0bd33e8 /widgets/misc/e-search-bar.h
parent7f9b336892181f3e1d25883804ac7f059d21071a (diff)
downloadgsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.tar
gsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.tar.gz
gsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.tar.bz2
gsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.tar.lz
gsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.tar.xz
gsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.tar.zst
gsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.zip
Also perform a search on the query_changed signal, which is what gets
2002-07-22 Peter Williams <peterw@ximian.com> * folder-browser.c (folder_browser_gui_init): Also perform a search on the query_changed signal, which is what gets emitted when the Search menu is used. 2002-07-22 Peter Williams <peterw@ximian.com> * e-filter-bar.c (do_advanced): Break out the code for creating the advanced rule editor into a separate function, so that... (menubar_activated): ... can also create an Advanced dialog; needed when the Search menu's advanced button is used. (option_changed): Change this to call the function instead of having all the code to itself. * e-search-bar.h: Add id's for the FIND_NOW and CLEAR actions so that other code (eg, EFilterBar) doesn't get confused by an old id being used when the search-activated signal gets emitted. * e-search-bar.c (clear_search): Set the item_id to CLEAR before emitting the signal. (search_now_verb_cb): Just make this emit query_changed, as the button in the toolbar does. svn path=/trunk/; revision=17550
Diffstat (limited to 'widgets/misc/e-search-bar.h')
-rw-r--r--widgets/misc/e-search-bar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/misc/e-search-bar.h b/widgets/misc/e-search-bar.h
index f50f487b8d..e7d3830735 100644
--- a/widgets/misc/e-search-bar.h
+++ b/widgets/misc/e-search-bar.h
@@ -102,6 +102,11 @@ struct _ESearchBarClass
void (*menu_activated) (ESearchBar *search, int item);
};
+enum {
+ E_SEARCHBAR_FIND_NOW_ID = 0,
+ E_SEARCHBAR_CLEAR_ID = 1
+};
+
GtkType e_search_bar_get_type (void);
void e_search_bar_construct (ESearchBar *search_bar,