From 150fcadcd211229444910f2799212c27a247fa60 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sat, 23 Sep 2000 15:41:21 +0000 Subject: Updates for the Bonobo changes from Michael who is having some troubles with CVS at home (so I commit this on his behalf). svn path=/trunk/; revision=5560 --- shell/e-shell-view-menu.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'shell/e-shell-view-menu.c') diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 78e62953d7..13ec5c4cb8 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -448,8 +448,6 @@ e_shell_view_menu_setup (EShellView *shell_view) BonoboUIHandler *uih; Bonobo_UIContainer container; BonoboUIComponent *component; - char *fname; - xmlNode *ui; g_return_if_fail (shell_view != NULL); g_return_if_fail (E_IS_SHELL_VIEW (shell_view)); @@ -472,16 +470,9 @@ e_shell_view_menu_setup (EShellView *shell_view) bonobo_ui_container_freeze (container, NULL); - fname = bonobo_ui_util_get_ui_fname ( - EVOLUTION_DATADIR, "evolution.xml"); - g_warning ("Attempting ui load from '%s'", fname); - - ui = bonobo_ui_util_new_ui (component, fname, "evolution"); - - bonobo_ui_component_set_tree (component, container, "/", ui, NULL); - - g_free (fname); - xmlFreeNode (ui); + bonobo_ui_util_set_ui (component, container, + EVOLUTION_DATADIR, "evolution.xml", + "evolution"); menu_do_misc (component, shell_view); -- cgit v1.2.3