home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.6)
-
- __all__ = [
- 'show_research_popup',
- 'show_research_popup_once']
- HEADER = _('Keep Digsby Free and Ad Free')
- MINOR = _("Digsby will use your computer's free time using it to conduct both free and paid research.")
-
- def _on_options():
- prefsdialog = prefsdialog
- import gui.pref
- prefsdialog.show('helpdigsby')
-
-
- def show_research_popup():
- popup = popup
- import gui.toast
- buttons = [
- (_('Options'), _on_options),
- (_('OK'), (lambda : pass))]
- popup(header = HEADER, minor = MINOR, sticky = True, buttons = buttons)
-
-
- def show_research_popup_once():
- pref = pref
- setpref = setpref
- import common
- if not pref('research.showed_notification', default = False, type = bool):
- show_research_popup()
-
- setpref('research.showed_notification', True)
-
-