aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-user-creatable-items-handler.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-07-27 03:04:16 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-07-27 03:04:16 +0800
commit1a71d1071cd26fb93cb0c5c46f52221d4979e4d5 (patch)
tree2a812c5672e1d601893c1f38c57bdecaeef5f47a /shell/e-shell-user-creatable-items-handler.c
parent718d677e68d52df0fef00f151e94a53c6d114100 (diff)
downloadgsoc2013-evolution-1a71d1071cd26fb93cb0c5c46f52221d4979e4d5.tar
gsoc2013-evolution-1a71d1071cd26fb93cb0c5c46f52221d4979e4d5.tar.gz
gsoc2013-evolution-1a71d1071cd26fb93cb0c5c46f52221d4979e4d5.tar.bz2
gsoc2013-evolution-1a71d1071cd26fb93cb0c5c46f52221d4979e4d5.tar.lz
gsoc2013-evolution-1a71d1071cd26fb93cb0c5c46f52221d4979e4d5.tar.xz
gsoc2013-evolution-1a71d1071cd26fb93cb0c5c46f52221d4979e4d5.tar.zst
gsoc2013-evolution-1a71d1071cd26fb93cb0c5c46f52221d4979e4d5.zip
(ensure_menu_xml): Put in
the ComponentItems placeholder, instead of NewItems. svn path=/trunk/; revision=17615
Diffstat (limited to 'shell/e-shell-user-creatable-items-handler.c')
-rw-r--r--shell/e-shell-user-creatable-items-handler.c4
1 files changed, 2 insertions, 2 deletions
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, "<placeholder name=\"NewItems\">");
+ g_string_append (xml, "<placeholder name=\"ComponentItems\">");
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);
}