diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-07-27 03:04:16 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-07-27 03:04:16 +0800 |
commit | 1a71d1071cd26fb93cb0c5c46f52221d4979e4d5 (patch) | |
tree | 2a812c5672e1d601893c1f38c57bdecaeef5f47a /shell/e-shell-user-creatable-items-handler.c | |
parent | 718d677e68d52df0fef00f151e94a53c6d114100 (diff) | |
download | gsoc2013-evolution-1a71d1071cd26fb93cb0c5c46f52221d4979e4d5.tar.gz 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.c | 4 |
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); } |