diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-13 21:42:35 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-13 21:42:35 +0800 |
commit | 4c1f563a18177e4f8cd7c2f308ef1f7b50e662be (patch) | |
tree | a5bcad164e3710ec7653db6e3dc27b83fd07ba43 /shell | |
parent | 23ff4e713bb247cb093e469ea53c61d1950035dc (diff) | |
download | gsoc2013-evolution-4c1f563a18177e4f8cd7c2f308ef1f7b50e662be.tar gsoc2013-evolution-4c1f563a18177e4f8cd7c2f308ef1f7b50e662be.tar.gz gsoc2013-evolution-4c1f563a18177e4f8cd7c2f308ef1f7b50e662be.tar.bz2 gsoc2013-evolution-4c1f563a18177e4f8cd7c2f308ef1f7b50e662be.tar.lz gsoc2013-evolution-4c1f563a18177e4f8cd7c2f308ef1f7b50e662be.tar.xz gsoc2013-evolution-4c1f563a18177e4f8cd7c2f308ef1f7b50e662be.tar.zst gsoc2013-evolution-4c1f563a18177e4f8cd7c2f308ef1f7b50e662be.zip |
(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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/e-user-creatable-items-handler.c | 2 |
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) { |