(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].

svn path=/trunk/; revision=23326
This commit is contained in:
Ettore Perazzoli
2003-11-13 13:42:35 +00:00
parent 23ff4e713b
commit 4c1f563a18
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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):

View File

@ -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) {