def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def _setup_item_button(self, item_button, icon, position=None):
    item_button.set_relief(gtk.RELIEF_NONE)