示例#1
0
 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
示例#2
0
 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
示例#3
0
 def cleanup():
     ut.set_right_softkey_text(u"Exit")
示例#4
0
 def cleanup():
     appuifw.app.exit_key_handler = self.abort
     ut.set_right_softkey_text(u"Exit")