From 74eff81d8fe7c366c34db4c9ad25c87a4eb95b0a Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 18 Mar 2002 20:56:15 +0000 Subject: 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 --- widgets/misc/ChangeLog | 8 ++++++++ widgets/misc/e-search-bar.c | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 9ec923e5ab..4fde7c9ed8 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,11 @@ +2002-03-18 Ettore Perazzoli + + * 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. + 2002-03-18 Ettore Perazzoli * e-search-bar.c (update_sensitivity): New halper function to 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 (""); - 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) { -- cgit