aboutsummaryrefslogtreecommitdiffstats
path: root/shell
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
parent718d677e68d52df0fef00f151e94a53c6d114100 (diff)
downloadgsoc2013-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')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-user-creatable-items-handler.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index a06c2afc29..ba430ed051 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2002-07-26 Ettore Perazzoli <ettore@ximian.com>
+ * e-shell-user-creatable-items-handler.c (ensure_menu_xml): Put in
+ the ComponentItems placeholder, instead of NewItems.
+
+2002-07-26 Ettore Perazzoli <ettore@ximian.com>
+
* e-local-storage.c (load_all_folders): Don't return FALSE if any
of the folders fails to load; otherwise, if the user has played
with ~/evolution, he might end up not seeing any folders at all.
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);
}