diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-23 23:41:21 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-23 23:41:21 +0800 |
commit | 150fcadcd211229444910f2799212c27a247fa60 (patch) | |
tree | 83933be7df6b496929b1f8b50436641a661152db /shell/e-shell-view-menu.c | |
parent | 28c50b7cb8dfb17659c6043c48d5cc03be537154 (diff) | |
download | gsoc2013-evolution-150fcadcd211229444910f2799212c27a247fa60.tar.gz gsoc2013-evolution-150fcadcd211229444910f2799212c27a247fa60.tar.zst gsoc2013-evolution-150fcadcd211229444910f2799212c27a247fa60.zip |
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
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r-- | shell/e-shell-view-menu.c | 15 |
1 files changed, 3 insertions, 12 deletions
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); |