web/views/startup.py
changeset 3457 0924d0d08d60
parent 3451 6b46d73823f5
child 3460 e4843535db25
--- a/web/views/startup.py	Wed Sep 23 20:12:48 2009 +0200
+++ b/web/views/startup.py	Wed Sep 23 20:13:31 2009 +0200
@@ -74,7 +74,7 @@
 
     def startupviews_table(self):
         for v in self._cw.vreg['views'].possible_views(self._cw, None):
-            if v.category != 'startupview' or v.id in ('index', 'tree', 'manage'):
+            if v.category != 'startupview' or v.__regid__ in ('index', 'tree', 'manage'):
                 continue
             self.w('<p><a href="%s">%s</a></p>' % (
                 xml_escape(v.url()), xml_escape(self._cw._(v.title).capitalize())))