home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.6)
-
-
- def save_to_dir():
- import wx
- import gui.native as gui
- gui.native.extendStdPaths()
- import stdpaths
- return stdpaths.userdesktop
-
-
- def chatlogdir():
- import wx
- import gui.native as gui
- gui.native.extendStdPaths()
- import stdpaths
- pref = pref
- import common
- if not pref('log.outputdir'):
- pass
- return stdpaths.documents
-
- buddylist_dock_enabled = False
- buddylist_dock_autohide = False
- buddylist_dock_revealms = 300
-
- def get_research_enabled():
- import wx
- pref = pref
- import common
- had_prefs = wx.GetApp().local_settings_exist_at_startup
- if had_prefs:
- value = pref('research.enabled', default = True)
- else:
- value = pref('research.last_known_local', default = False)
- _set_research_pref(value)
- return value
-
-
- def _set_research_pref(val):
- import common
- common.setprefif('research.enabled', val)
- common.setprefif('research.last_known_local', val)
- return val
-
-
- def set_research_enabled(val):
- return _set_research_pref(val)
-
-