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

« back to all changes in this revision

Viewing changes to src/conf/apps.py

  • Committer: mattgiuca
  • Date: 2007-12-17 04:19:18 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:70
apps: Added app "debuginfo" which prints out IVLE system properties.
    Added warning in dispatch/html.py if debuginfo is active.
dispatch_handler: Now writes a variable conf.ivlepath to the place IVLE is
    located.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
        self.name = name
12
12
        self.requireauth = requireauth
13
13
        self.hashelp = hashelp
 
14
    def __repr__(self):
 
15
        return ("App(dir=" + repr(self.dir) + ", name=" + repr(self.name) +
 
16
            ", requireauth=" + repr(self.requireauth) + ", hashelp="
 
17
            + repr(self.hashelp) + ")")
14
18
 
15
19
# Application definitions
16
20
 
34
38
                    requireauth = True,
35
39
                    hashelp = False)
36
40
 
 
41
app_debuginfo = App(dir = "debuginfo",
 
42
                    name = "Debug Information",
 
43
                    requireauth = True,
 
44
                    hashelp = False)
 
45
 
37
46
# Mapping URL names to apps
38
47
 
39
48
app_url = {
41
50
    "serve" : app_server,
42
51
    "download" : app_download,
43
52
    "help" : app_help,
 
53
    "debuginfo" : app_debuginfo,
44
54
}
45
55
 
46
56
# List of apps that go in the tabs at the top