aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-filter-bar.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-19 04:06:00 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-19 04:06:00 +0800
commit6f9b8ecfb38192df1c8bca8ac34db6c3eae254aa (patch)
treee21aa020a307fb81b48babe2980a28687f17f9f0 /widgets/misc/e-filter-bar.h
parent16af96a2ab47b8f58f1c86380162e26530842868 (diff)
downloadgsoc2013-evolution-6f9b8ecfb38192df1c8bca8ac34db6c3eae254aa.tar
gsoc2013-evolution-6f9b8ecfb38192df1c8bca8ac34db6c3eae254aa.tar.gz
gsoc2013-evolution-6f9b8ecfb38192df1c8bca8ac34db6c3eae254aa.tar.bz2
gsoc2013-evolution-6f9b8ecfb38192df1c8bca8ac34db6c3eae254aa.tar.lz
gsoc2013-evolution-6f9b8ecfb38192df1c8bca8ac34db6c3eae254aa.tar.xz
gsoc2013-evolution-6f9b8ecfb38192df1c8bca8ac34db6c3eae254aa.tar.zst
gsoc2013-evolution-6f9b8ecfb38192df1c8bca8ac34db6c3eae254aa.zip
[Search bar re-design implementation, Take 2.]
* e-search-bar.c (clear_verb_cb): New. (setup_standard_verbs): New. (e_search_bar_set_ui_component): Call it if a new BonoboUIComponent is set. (append_xml_menu_item): New helper function. (update_bonobo_menus): Use it. Also add a "Clear" menu item. (e_search_bar_construct): @menu_items can be NULL now. (e_search_bar_new): Same here. (set_menu): Work with NULL items. * e-filter-bar.c (menubar_activated): Don't handle E_FILTERBAR_RESET_ID anymore. * e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'. * folder-browser.c: Remove E_FILTERBAR_RESET menu entry. * gui/cal-search-bar.c: Removed `search_menu_items'. (cal_search_bar_menu_activated): Removed. (cal_search_bar_class_init): Don't install. (cal_search_bar_construct): No menu items here. * gui/component/addressbook.c (addressbook_menu_activated): Removed. (addressbook_factory_new_control): Don't connect anymore, as this signal has been removed from the ESearchBar. (addressbook_factory_new_control): No more custom menu items here. svn path=/trunk/; revision=16194
Diffstat (limited to 'widgets/misc/e-filter-bar.h')
-rw-r--r--widgets/misc/e-filter-bar.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/widgets/misc/e-filter-bar.h b/widgets/misc/e-filter-bar.h
index 7577236ee3..d0a81d3b55 100644
--- a/widgets/misc/e-filter-bar.h
+++ b/widgets/misc/e-filter-bar.h
@@ -81,25 +81,20 @@ struct _EFilterBarClass
/* "preset" items */
enum {
/* preset menu options */
- E_FILTERBAR_RESET_ID = -2,
- E_FILTERBAR_SAVE_ID = -3,
- E_FILTERBAR_EDIT_ID = -4,
+ E_FILTERBAR_SAVE_ID = -2,
+ E_FILTERBAR_EDIT_ID = -3,
/* preset option options */
- E_FILTERBAR_ADVANCED_ID = -5,
-
- E_FILTERBAR_LAST_ID = -6,
+ E_FILTERBAR_ADVANCED_ID = -4,
};
#define E_FILTERBAR_SAVE { N_("Add to Saved Searches"), E_FILTERBAR_SAVE_ID, NULL }
-#define E_FILTERBAR_RESET { N_("Clear"), E_FILTERBAR_RESET_ID, NULL }
#define E_FILTERBAR_EDIT { N_("Edit..."), E_FILTERBAR_EDIT_ID, NULL }
#define E_FILTERBAR_ADVANCED { N_("Advanced..."), E_FILTERBAR_ADVANCED_ID, NULL }
#ifdef JUST_FOR_TRANSLATORS
const char * strings[] = {
N_("Save As..."),
- N_("Show All"),
N_("Edit..."),
N_("Advanced...")
};