summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <micke@codefactory.se>2002-06-27 22:23:15 +0000
committerMikael Hallendal <hallski@src.gnome.org>2002-06-27 22:23:15 +0000
commit9806358b7c9244a998341397ff1cf136e445ec5c (patch)
tree3304d122df128067fac25847e70a375eaf713df2
parent6bfee3ee59fff80f4e576adb61ef0c0230c8e02c (diff)
downloadyelp-9806358b7c9244a998341397ff1cf136e445ec5c.tar.gz
sort info pages.
2002-06-28 Mikael Hallendal <micke@codefactory.se> * src/yelp-info.c (yelp_info_init): sort info pages.
-rw-r--r--ChangeLog4
-rw-r--r--src/yelp-info.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 320daf55..882d0301 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-28 Mikael Hallendal <micke@codefactory.se>
+
+ * src/yelp-info.c (yelp_info_init): sort info pages.
+
2002-06-27 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c: added patch from Kang Jeong-Hee to support
diff --git a/src/yelp-info.c b/src/yelp-info.c
index 4e02bbcf..14c6bffc 100644
--- a/src/yelp-info.c
+++ b/src/yelp-info.c
@@ -138,6 +138,8 @@ yelp_info_init (GNode *tree, GList **index)
yelp_section_new (YELP_SECTION_CATEGORY,
"info", NULL));
+ info_list = g_slist_sort (info_list, yelp_section_compare);
+
for (node = info_list; node; node = node->next) {
g_node_append_data (root, node->data);