From 1a71d1071cd26fb93cb0c5c46f52221d4979e4d5 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 26 Jul 2002 19:04:16 +0000 Subject: (ensure_menu_xml): Put in the ComponentItems placeholder, instead of NewItems. svn path=/trunk/; revision=17615 --- shell/e-shell-user-creatable-items-handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-user-creatable-items-handler.c') diff --git a/shell/e-shell-user-creatable-items-handler.c b/shell/e-shell-user-creatable-items-handler.c index d04b17bfe3..36791623de 100644 --- a/shell/e-shell-user-creatable-items-handler.c +++ b/shell/e-shell-user-creatable-items-handler.c @@ -363,7 +363,7 @@ ensure_menu_xml (EShellUserCreatableItemsHandler *handler) xml = g_string_new (""); - g_string_append (xml, ""); + g_string_append (xml, ""); for (p = priv->menu_items; p != NULL; p = p->next) { const MenuItem *item; @@ -719,7 +719,7 @@ e_shell_user_creatable_items_handler_attach_menus (EShellUserCreatableItemsHandl add_verbs (handler, shell_view); ui_component = e_shell_view_get_bonobo_ui_component (shell_view); - bonobo_ui_component_set (ui_component, "/menu/File/New/NewItems", priv->menu_xml, NULL); + bonobo_ui_component_set (ui_component, "/menu/File/New", priv->menu_xml, NULL); bonobo_ui_component_set (ui_component, "/popups/NewPopup", priv->menu_xml, NULL); } -- cgit v1.2.3