aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-user-creatable-items-handler.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index ab4a918af3..a3930814b4 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,11 @@
2003-11-13 Ettore Perazzoli <ettore@ximian.com>
+ * e-user-creatable-items-handler.c (ensure_menu_items): Reverse
+ the list so we get the items in the same order they were given to
+ us [since we are using g_slist_prepend() to build the list].
+
+2003-11-13 Ettore Perazzoli <ettore@ximian.com>
+
* Evolution-Component.idl (GNOME.Evolution.Component.UnknownType):
New exception.
diff --git a/shell/e-user-creatable-items-handler.c b/shell/e-user-creatable-items-handler.c
index a524886993..dabbe8381a 100644
--- a/shell/e-user-creatable-items-handler.c
+++ b/shell/e-user-creatable-items-handler.c
@@ -241,7 +241,7 @@ ensure_menu_items (EUserCreatableItemsHandler *handler)
component_num ++;
}
- priv->menu_items = menu_items;
+ priv->menu_items = g_slist_reverse (menu_items);
priv->default_menu_item = NULL;
if (default_verb != NULL) {