home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 January / maximum-cd-2012-01.iso / DiscContents / digsby_setup.exe / lib / prefs / localdefaults.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2011-10-05  |  1.7 KB  |  51 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4.  
  5. def save_to_dir():
  6.     import wx
  7.     import gui.native as gui
  8.     gui.native.extendStdPaths()
  9.     import stdpaths
  10.     return stdpaths.userdesktop
  11.  
  12.  
  13. def chatlogdir():
  14.     import wx
  15.     import gui.native as gui
  16.     gui.native.extendStdPaths()
  17.     import stdpaths
  18.     pref = pref
  19.     import common
  20.     if not pref('log.outputdir'):
  21.         pass
  22.     return stdpaths.documents
  23.  
  24. buddylist_dock_enabled = False
  25. buddylist_dock_autohide = False
  26. buddylist_dock_revealms = 300
  27.  
  28. def get_research_enabled():
  29.     import wx
  30.     pref = pref
  31.     import common
  32.     had_prefs = wx.GetApp().local_settings_exist_at_startup
  33.     if had_prefs:
  34.         value = pref('research.enabled', default = True)
  35.     else:
  36.         value = pref('research.last_known_local', default = False)
  37.     _set_research_pref(value)
  38.     return value
  39.  
  40.  
  41. def _set_research_pref(val):
  42.     import common
  43.     common.setprefif('research.enabled', val)
  44.     common.setprefif('research.last_known_local', val)
  45.     return val
  46.  
  47.  
  48. def set_research_enabled(val):
  49.     return _set_research_pref(val)
  50.  
  51.