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

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

  • Committer: William Grant
  • Date: 2009-02-25 08:21:38 UTC
  • Revision ID: grantw@unimelb.edu.au-20090225082138-9xjes8motif205xw
Move the old tutorial views into the 'subjects' tab, so they get the right
icon and highlight the right tab.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
            for tab in plugin.tabs:
118
118
                # tab is a tuple: name, title, desc, icon, path
119
119
                new_app = {}
120
 
                new_app['this_app'] = hasattr(self, 'appname') \
121
 
                                      and tab[0] == self.appname
 
120
                new_app['this_app'] = hasattr(self, 'tab') \
 
121
                                      and tab[0] == self.tab
122
122
 
123
123
                # Icon name
124
124
                if tab[3] is not None: