diff options
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r-- | widgets/misc/e-search-bar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index dd73122f98..8d8767a7fb 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -564,6 +564,9 @@ 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/Search", NULL); } |