code: def accel_decrease_height(self, *args):
          
          height = self.settings.general.get_int('window-height')
          self.settings.general.set_int('window-height', max(height - 2, 0))
          return True
docs: Callback to decrease height.