Gary Kramlich  committed 3696852

update the admin stuff to the 0.11 api

  • Participants
  • Parent commits e6d1a61
  • Branches org.guifications.extras

Comments (0)

Files changed (1)

File trac/buildbot/tracbuildbot/

 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):