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

« back to all changes in this revision

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

ivle.webapp.base.xhtml#XHTMLView: Rename app_template to template (the things
    that use it are views, not apps).

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    """
40
40
    The view for the browser
41
41
    """
42
 
    def __init__(self, req, **kwargs):
43
 
        super(BrowserView, self).__init__(req, **kwargs)
44
 
        self.app_template = 'template.html'
45
 
        #XXX: Will hate me for this.
46
 
        self.appname = "files"
 
42
    template = 'template.html'
 
43
    appname = 'files'
47
44
 
48
45
    def populate(self, req, ctx):
49
46
        if not hasattr(self, 'path'):