def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def draw(self, context):
        self.layout.operator("wm.appconfig_default", text="Blender (default)")

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