diff --git a/src/gui/views/treemodels/placetreemodel.py b/src/gui/views/treemodels/placetreemodel.py index 9bf307593..c94e93896 100644 --- a/src/gui/views/treemodels/placetreemodel.py +++ b/src/gui/views/treemodels/placetreemodel.py @@ -120,7 +120,7 @@ class PlaceTreeModel(PlaceBaseModel, TreeBaseModel): self.add_node(None, node1, level[0], None, add_parent=False) self.add_node(node1, node2, level[1], None, add_parent=False) self.add_node(node2, node3, level[2], None, add_parent=False) - self.add_node(node3, handle, level[2], handle, add_parent=False) + self.add_node(node3, handle, sort_key, handle, add_parent=False) elif level[1]: self.add_node(None, node1, level[0], None, add_parent=False) self.add_node(node1, node2, level[1], None, add_parent=False) @@ -129,7 +129,10 @@ class PlaceTreeModel(PlaceBaseModel, TreeBaseModel): self.add_node(None, node1, level[0], None, add_parent=False) self.add_node(node1, handle, level[0], handle, add_parent=False) else: - self.add_node(None, handle, sort_key, handle, add_parent=False) + self.add_node(None, node1, level[0], None, add_parent=False) + self.add_node(node1, node2, level[1], None, add_parent=False) + self.add_node(node2, node3, level[2], None, add_parent=False) + self.add_node(node3, handle, sort_key, handle, add_parent=False) else: self.add_node(None, node1, level[0], None, add_parent=False) diff --git a/src/gui/views/treemodels/treebasemodel.py b/src/gui/views/treemodels/treebasemodel.py index 09d0bf510..47b0622b7 100644 --- a/src/gui/views/treemodels/treebasemodel.py +++ b/src/gui/views/treemodels/treebasemodel.py @@ -471,7 +471,7 @@ class TreeBaseModel(gtk.GenericTreeModel): items = self.number_items() pmon = progressdlg.ProgressMonitor(progressdlg.GtkProgressDialog, popup_time=2) - status = progressdlg.LongOpStatus(msg=_("Building People View"), + status = progressdlg.LongOpStatus(msg=_("Building View"), total_steps=items, interval=items//20, can_cancel=True) pmon.add_op(status)