append entries, so we get them in the correct order.

* control-center-categories.c: (populate_category):
        append entries, so we get them in the correct order.
This commit is contained in:
Frédéric Crozat 2005-05-02 08:05:27 +00:00
parent a0a2ed3ba9
commit 8067b55d1d
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-05-02 Frederic Crozat <fcrozat@mandriva.com>
* control-center-categories.c: (populate_category):
append entries, so we get them in the correct order.
2005-04-11 Mark McLoughlin <mark@skynet.ie>
* control-center-categories.c: update for libgnome-menu

View file

@ -138,9 +138,9 @@ populate_category (ControlCenterCategory *category,
GMenuTreeItem *item = l->data;
if (gmenu_tree_item_get_type (item) == GMENU_TREE_ITEM_ENTRY)
entries = g_slist_prepend (entries,
control_center_entry_new (category,
GMENU_TREE_ENTRY (item)));
entries = g_slist_append (entries,
control_center_entry_new (category,
GMENU_TREE_ENTRY (item)));
gmenu_tree_item_unref (item);
}