diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-01-06 12:59:29 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-01-06 12:59:29 +0000 |
commit | 80abcd08f9702f4e96a106b3252b5f1c595e63a9 (patch) | |
tree | 10c84a1c7279d87ed5de23cf087c52c21b794571 /riscos | |
parent | 17d7880bf993c64e8ff06e383f9b1ada223a94c4 (diff) | |
download | netsurf-80abcd08f9702f4e96a106b3252b5f1c595e63a9.tar.gz netsurf-80abcd08f9702f4e96a106b3252b5f1c595e63a9.tar.bz2 |
[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
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/hotlist.c | 25 |
1 files changed, 24 insertions, 1 deletions
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 */ |