--- trunk/pygtk/canvas/blockcanvas.py 2008/11/17 10:16:30 1958 +++ trunk/pygtk/canvas/blockcanvas.py 2008/11/17 11:51:01 1959 @@ -39,4 +39,13 @@ dirty_matrix_items.update(super(BlockCanvas, self)._normalize(items)) return dirty_matrix_items + def reattach_ascend(self, library): + # FIXME still need a way of iterating through these items + items = [] + for item in items: + if not hasattr(item, 'ports'): + continue + if item.blocktype.type is None: + item.blocktype.reattach_ascend(library) +