def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def draw(self, context):
        self.layout.operator("wm.appconfig_default", text="Blender (default)")

        # now draw the presets
        Menu.draw_preset(self, context)