mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 13:29:21 +03:00
[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:
parent
f3b7d06f2a
commit
b718ee9158
@ -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));
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user