[evolution-patches] Don't remove nonexisting bonobo object, instead the right one



When remove_bonobo_menus is called for the search bar, a bonobo object
is removed that obviously doesn't exist. I suppose it's a leftover and
adapted it to remove its parent object.
Evo now doesn't complain when quitting.

regs,
 Chris
Index: widgets/misc/e-search-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-search-bar.c,v
retrieving revision 1.75
diff -u -r1.75 e-search-bar.c
--- widgets/misc/e-search-bar.c	29 Jan 2004 01:57:56 -0000	1.75
+++ widgets/misc/e-search-bar.c	11 Feb 2004 19:54:13 -0000
@@ -567,7 +567,7 @@
 	if (bonobo_ui_component_get_container (esb->ui_component) == CORBA_OBJECT_NIL)
 		return;
 
-	bonobo_ui_component_rm (esb->ui_component, "/menu/SearchPlaceholder/Search", NULL);
+	bonobo_ui_component_rm (esb->ui_component, "/menu/SearchPlaceholder", NULL);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]