Commits

Gary Kramlich committed 3696852

update the admin stuff to the 0.11 api

Comments (0)

Files changed (1)

trac/buildbot/tracbuildbot/manager.py

 
 from trac.core import *
 
-from webadmin.web_ui import IAdminPageProvider
+from webadmin.web_ui import IAdminPanelProvider
 
 class TracBuildbotManager(component):
-    implements(IAdminPageProvider)
+    implements(IAdminPanelProvider)
 
-    def get_admin_pages(self, req):
+    def get_admin_panels(self, req):
         if req.perm.has_permission('BUILDBOT_ADMIN'):
-            yield('buildbot', 'Buildbot', 'general', 'General')
+            yield('buildbot', 'Buildbot', 'bot', 'Buildbot')
 
-    def process_admin_request(self, req, category, page, path_info):
+    def render_admin_panel(self, req, category, page, path_info):
         pass