aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-19 04:56:15 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-19 04:56:15 +0800
commit74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a (patch)
tree50d8afbd3a12623fad474aa937b5cc73a49ca84d /widgets/misc/e-search-bar.c
parent1657404cf753ec4ed9b2a0e76cf02c0aba40a08a (diff)
downloadgsoc2013-evolution-74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a.tar
gsoc2013-evolution-74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a.tar.gz
gsoc2013-evolution-74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a.tar.bz2
gsoc2013-evolution-74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a.tar.lz
gsoc2013-evolution-74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a.tar.xz
gsoc2013-evolution-74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a.tar.zst
gsoc2013-evolution-74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a.zip
Rename the "Search Now" menu entry to "Find Now". Rename the corresponding
* e-search-bar.c (update_bonobo_menus): Rename the "Search Now" menu entry to "Find Now". Rename the corresponding verb to "ESearchBar:FindNow". (update_sensitivity): Updated accordingly. (setup_standard_verbs): Likewise. svn path=/trunk/; revision=16200
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r--widgets/misc/e-search-bar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index b8bda3888c..754107aaeb 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -109,13 +109,13 @@ update_sensitivity (ESearchBar *search_bar)
if (text != NULL && text[0] != '\0') {
if (search_bar->ui_component != NULL)
bonobo_ui_component_set_prop (search_bar->ui_component,
- "/commands/ESearchBar:SearchNow",
+ "/commands/ESearchBar:FindNow",
"sensitive", "1", NULL);
gtk_widget_set_sensitive (search_bar->activate_button, TRUE);
} else {
if (search_bar->ui_component != NULL)
bonobo_ui_component_set_prop (search_bar->ui_component,
- "/commands/ESearchBar:SearchNow",
+ "/commands/ESearchBar:FindNow",
"sensitive", "0", NULL);
gtk_widget_set_sensitive (search_bar->activate_button, FALSE);
}
@@ -161,7 +161,7 @@ setup_standard_verbs (ESearchBar *search_bar)
{
bonobo_ui_component_add_verb (search_bar->ui_component, "ESearchBar:Clear",
clear_verb_cb, search_bar);
- bonobo_ui_component_add_verb (search_bar->ui_component, "ESearchBar:SearchNow",
+ bonobo_ui_component_add_verb (search_bar->ui_component, "ESearchBar:FindNow",
search_now_verb_cb, search_bar);
/* Make sure the entries are created with the correct sensitivity. */
@@ -426,7 +426,7 @@ update_bonobo_menus (ESearchBar *esb)
xml = g_string_new ("<placeholder name=\"SearchBar\">");
- append_xml_menu_item (xml, "SearchNow", _("Search Now"), "ESearchBar:SearchNow", "*Control*b");
+ append_xml_menu_item (xml, "FindNow", _("Find Now"), "ESearchBar:FindNow", "*Control*b");
append_xml_menu_item (xml, "Clear", _("Clear"), "ESearchBar:Clear", "*Control**Shift*b");
for (p = esb->menu_items; p != NULL; p = p->next) {