[project @ 2006-01-04 22:40:36 by rjw]

Don't allow folders to be launched.

svn path=/import/netsurf/; revision=1981
This commit is contained in:
Richard Wilson 2006-01-04 22:40:36 +00:00
parent f36694f4ef
commit a1c3e05e0a
1 changed files with 1 additions and 0 deletions

View File

@ -945,6 +945,7 @@ struct node *tree_create_folder_node(struct node *parent, const char *title) {
node->data.parent = node;
node->data.type = NODE_ELEMENT_TEXT;
node->data.text = squash_whitespace(title);
node->data.data = TREE_ELEMENT_TITLE;
tree_set_node_sprite_folder(node);
if (parent)
tree_link_node(parent, node, false);