def to_gallery_mode(self): self.to_mode("gallery") appuifw.app.exit_key_handler = lambda: self._gallery_done(None) ut.set_right_softkey_text(u"Close") def cleanup(): ut.set_right_softkey_text(u"Exit") self.mode_cleanup = cleanup
def to_mood_mode(self): self.to_mode("mood") ut.set_right_softkey_text(u"Back") def cleanup(): appuifw.app.exit_key_handler = self.abort ut.set_right_softkey_text(u"Exit") def done(): self.acquire_new_filedata() self.list_screen.disactivate_cb = cleanup appuifw.app.exit_key_handler = done self.mode_cleanup = cleanup
def cleanup(): ut.set_right_softkey_text(u"Exit")
def cleanup(): appuifw.app.exit_key_handler = self.abort ut.set_right_softkey_text(u"Exit")