~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/apps/settings/__init__.py

  • Committer: dcoles
  • Date: 2008-07-14 01:08:59 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:850
Console: Moved console up into dispatch. Now any application can, in theory, 
have it's own console just by adding 'useconsole = True' to the app settings.
Note: There are some cases where this may not be a good idea - ie. The full 
console app, public applications, etc. Removed the old single instances of 
console and made apps init functions use the new scripts_init section.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        "media/common/json2.js",
40
40
        "media/common/util.js",
41
41
    ]
 
42
    req.scripts_init = [
 
43
        "revert_settings"
 
44
    ]
42
45
    req.write_html_head_foot = True     # Have dispatch print head and foot
43
46
 
44
47
    # Start writing data