[project @ 2005-03-20 22:50:29 by rjw]

Trees now use content title rather than gui_window title.

svn path=/import/netsurf/; revision=1562
This commit is contained in:
Richard Wilson 2005-03-20 22:50:29 +00:00
parent f3b7d06f2a
commit b718ee9158
2 changed files with 2 additions and 2 deletions

View File

@ -393,7 +393,7 @@ void global_history_add(struct gui_window *g) {
if ((!g->bw->current_content) || (!global_history_tree))
return;
ro_gui_global_history_add(g->title, g->bw->current_content->url, time(NULL),
ro_gui_global_history_add(g->bw->current_content->title, g->bw->current_content->url, time(NULL),
ro_content_filetype(g->bw->current_content));
}

View File

@ -1278,7 +1278,7 @@ void ro_gui_toolbar_click(struct gui_window *g, wimp_pointer *pointer)
case ICON_TOOLBAR_BOOKMARK:
if ((pointer->buttons == wimp_CLICK_ADJUST) && (hotlist_tree)) {
node = tree_create_URL_node(hotlist_tree->root,
g->title,
g->bw->current_content->title,
g->bw->current_content->url,
ro_content_filetype(g->bw->current_content),
time(NULL), -1, 0);