Author: rjw
Date: Sat Mar 3 22:47:45 2007
New Revision: 3196
URL:
http://svn.semichrome.net?rev=3196&view=rev
Log:
Position new folders correctly for global history (fix 1547523)
Modified:
trunk/netsurf/riscos/global_history.c
Modified: trunk/netsurf/riscos/global_history.c
URL:
http://svn.semichrome.net/trunk/netsurf/riscos/global_history.c?rev=3196&...
==============================================================================
--- trunk/netsurf/riscos/global_history.c (original)
+++ trunk/netsurf/riscos/global_history.c Sat Mar 3 22:47:45 2007
@@ -298,11 +298,16 @@
}
}
+ tree_set_node_selected(global_history_tree,
+ parent, false);
+ tree_set_node_expanded(global_history_tree,
+ parent, false);
tree_link_node(link, parent, before);
if (!global_history_init) {
- tree_recalculate_node_positions(global_history_tree,
- global_history_tree->root);
+ tree_recalculate_node(global_history_tree, parent, true);
+ tree_recalculate_node_positions(global_history_tree,
+ global_history_tree->root);
tree_redraw_area(global_history_tree,
0, 0, 16384, 16384);
}