summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Crozat <fcrozat@src.gnome.org>2005-05-02 08:24:20 +0000
committerFrédéric Crozat <fcrozat@src.gnome.org>2005-05-02 08:24:20 +0000
commit605fe41dc4d9cdcc9236ee9aa119ceaf8af7372b (patch)
treeea3369f66e8a4317b3890419fa2d146d8d2769d8
parentfb659371fc55131672b51fb02a47d9a57c624431 (diff)
downloadgnome-control-center-605fe41dc4d9cdcc9236ee9aa119ceaf8af7372b.tar.gz
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.
-rw-r--r--control-center/ChangeLog5
-rw-r--r--control-center/control-center-categories.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/control-center/ChangeLog b/control-center/ChangeLog
index 6d1b23be1..03508206a 100644
--- a/control-center/ChangeLog
+++ b/control-center/ChangeLog
@@ -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-02-18 Kjartan Maraas <kmaraas@gnome.org>
* control-center.c: (create_control_center): Fix a
diff --git a/control-center/control-center-categories.c b/control-center/control-center-categories.c
index 0aebd2334..56eaddfc3 100644
--- a/control-center/control-center-categories.c
+++ b/control-center/control-center-categories.c
@@ -137,8 +137,8 @@ populate_category (ControlCenterCategory *category,
for (l = menu_entries; l; l = l->next) {
MenuTreeEntry *menu_entry = l->data;
- entries = g_slist_prepend (entries,
- control_center_entry_new (category, menu_entry));
+ entries = g_slist_append (entries,
+ control_center_entry_new (category, menu_entry));
menu_tree_entry_unref (menu_entry);
}