From 80abcd08f9702f4e96a106b3252b5f1c595e63a9 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Fri, 6 Jan 2006 12:59:29 +0000 Subject: [project @ 2006-01-06 12:59:29 by rjw] Create various extra NetSurf links if no Hotlist is present. svn path=/import/netsurf/; revision=1991 --- riscos/hotlist.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'riscos') diff --git a/riscos/hotlist.c b/riscos/hotlist.c index bd9133957..13c2a56bf 100644 --- a/riscos/hotlist.c +++ b/riscos/hotlist.c @@ -140,6 +140,28 @@ void ro_gui_hotlist_initialise(void) { tree_create_URL_node(node, data, messages_get("HotlistHomepage")); } + data = url_store_find("http://netsurf.sourceforge.net/builds/"); + if (data) { + tree_create_URL_node(node, data, + messages_get("HotlistTestBuild")); + } + data = url_store_find("http://netsurf.sourceforge.net/docs"); + if (data) { + tree_create_URL_node(node, data, + messages_get("HotlistDocumentation")); + } + data = url_store_find("http://sourceforge.net/tracker/" + "?atid=464312&group_id=51719"); + if (data) { + tree_create_URL_node(node, data, + messages_get("HotlistBugTracker")); + } + data = url_store_find("http://sourceforge.net/tracker/" + "?atid=464315&group_id=51719"); + if (data) { + tree_create_URL_node(node, data, + messages_get("HotlistFeatureRequest")); + } tree_initialise(hotlist_tree); } else { fclose(fp); @@ -168,7 +190,8 @@ void ro_gui_hotlist_initialise(void) { void ro_gui_hotlist_save(void) { os_error *error; - if (!hotlist_tree) return; + if (!hotlist_tree) + return; /* Save to our file */ -- cgit v1.2.3