diff options
author | Mikael Hallendal <micke@codefactory.se> | 2002-06-27 22:23:15 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@src.gnome.org> | 2002-06-27 22:23:15 +0000 |
commit | 9806358b7c9244a998341397ff1cf136e445ec5c (patch) | |
tree | 3304d122df128067fac25847e70a375eaf713df2 | |
parent | 6bfee3ee59fff80f4e576adb61ef0c0230c8e02c (diff) | |
download | yelp-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-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/yelp-info.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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); |