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

« back to all changes in this revision

Viewing changes to ivle/webapp/console/__init__.py

Set appname on ivle.webapp.console.ConsoleView so we get an icon and selected
tab.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
 
8
8
class ConsoleView(XHTMLView):
 
9
    appname = 'console'
 
10
 
9
11
    plugin_scripts = {'ivle.webapp.console': ['console.js']}
10
12
    plugin_styles  = {'ivle.webapp.console': ['console.css']}
11
13
    plugin_scripts_init = ['console_init']
 
14
 
12
15
    # Don't load the console overlay when we already have a console.
13
16
    overlay_blacklist = [ConsoleOverlay]
14
 
    
 
17
 
15
18
    def populate(self, req, ctx):
16
19
        ctx['windowpane'] = False
17
20