diff options
-rw-r--r-- | widgets/misc/ChangeLog | 9 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 18 |
2 files changed, 16 insertions, 11 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index ddf0f43d22..d98993d27d 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,7 +1,12 @@ +2004-03-13 Trent Lloyd <lathiat@sixlabs.org> + + * e-search-bar.c (remove_bonobo_menus): move function about + setup_bonobo_menus which requires it so its not implicitly defined + 2004-03-12 Kidd Wang <kidd.wang@sun.com> - * e-dateedit.c: (create_children): enlarge the text box to accomodate - the time info in different locales. + * e-dateedit.c (create_children): enlarge the text box to + accomodate the time info in different locales. 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 84e3306eeb..c29c1519f8 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -519,6 +519,15 @@ append_xml_menu_item (GString *xml, } static void +remove_bonobo_menus (ESearchBar *esb) +{ + if (bonobo_ui_component_get_container (esb->ui_component) == CORBA_OBJECT_NIL) + return; + + bonobo_ui_component_rm (esb->ui_component, "/menu/SearchPlaceholder", NULL); +} + +static void setup_bonobo_menus (ESearchBar *esb) { GString *xml; @@ -563,15 +572,6 @@ setup_bonobo_menus (ESearchBar *esb) } static void -remove_bonobo_menus (ESearchBar *esb) -{ - if (bonobo_ui_component_get_container (esb->ui_component) == CORBA_OBJECT_NIL) - return; - - bonobo_ui_component_rm (esb->ui_component, "/menu/SearchPlaceholder", NULL); -} - -static void update_bonobo_menus (ESearchBar *esb) { setup_bonobo_menus (esb); |