home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 October / maximum-cd-2011-10.iso / DiscContents / digsby_setup.exe / lib / plugins / msim / myspacegui / editstatus.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2011-06-22  |  603 b   |  15 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4. import util
  5. import gui.toolbox as gui
  6.  
  7. def get_new_status(callback = None):
  8.     res = gui.toolbox.GetTextFromUser(message = _('Your Status:'), caption = _('MySpace Status'))
  9.     if res is None:
  10.         callback.error()
  11.     
  12.     callback.success(res)
  13.  
  14. get_new_status = util.callsback(get_new_status)
  15.