def settings_widget(self, window):
    return EnterButton(_('Printer Calibration'), partial(self.calibration_dialog, window))
def settings_widget(self, window):
    return EnterButton(_('Printer Calibration'), partial(self.calibration_dialog, window))