summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2011-01-22 16:35:16 +0000
committerOle Loots <ole@monochrom.net>2011-01-22 16:35:16 +0000
commit7e79d32bed18a09e0f1dcb0723700507e446a80c (patch)
tree89844b14479eaecf7d870f4aaa8315888262617b
parentb18ede1a60fc07b1ac21268a98fb66873357217d (diff)
downloadnetsurf-7e79d32bed18a09e0f1dcb0723700507e446a80c.tar.gz
netsurf-7e79d32bed18a09e0f1dcb0723700507e446a80c.tar.bz2
Removed default entries from hotlist, they are already defined within NetSurf core.
svn path=/trunk/netsurf/; revision=11445
-rw-r--r--atari/hotlist.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/atari/hotlist.c b/atari/hotlist.c
index c0f4a93d3..e060c4a3d 100644
--- a/atari/hotlist.c
+++ b/atari/hotlist.c
@@ -47,20 +47,6 @@ static struct atari_hotlist {
bool open;
} hl;
-static const struct {
- const char *url;
- const char *msg_key;
-} default_entries[] = {
- { "http://www.netsurf-browser.org/", "HotlistHomepage" },
- { "http://www.netsurf-browser.org/downloads/riscos/testbuilds", "HotlistTestBuild" },
- { "http://www.netsurf-browser.org/documentation", "HotlistDocumentation" },
- { "http://sourceforge.net/tracker/?atid=464312&group_id=51719",
- "HotlistBugTracker" },
- { "http://sourceforge.net/tracker/?atid=464315&group_id=51719",
- "HotlistFeatureRequest" }
-};
-#define ENTRIES_COUNT (sizeof(default_entries) / sizeof(default_entries[0]))
-
static void evnt_hl_toolbar( WINDOW *win, short buff[8]) {
int obj = buff[4]; /* Selected object */
@@ -93,7 +79,7 @@ void hotlist_init(void)
char hlfilepath[PATH_MAX];
atari_find_resource(
- (char*)&hlfilepath, "hotlist", "./res/Hotlist"
+ (char*)&hlfilepath, "hotlist", "res/Hotlist"
);
if( hl.window == NULL ){
@@ -125,7 +111,7 @@ void hotlist_init(void)
atari_treeview_get_tree(hl.tv),
/* TODO: use option_hotlist_file or slt*/
(char*)&hlfilepath,
- hlfilepath
+ "dir.png"
);
} else {