[source ui] uicfg tweaks
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Feb 2011 12:40:17 +0100
changeset 7019 46413742f9b5
parent 7018 9bad3bca783e
child 7020 37432cede4fe
[source ui] uicfg tweaks
web/views/cwsources.py
--- a/web/views/cwsources.py	Fri Feb 18 10:27:34 2011 +0100
+++ b/web/views/cwsources.py	Fri Feb 18 12:40:17 2011 +0100
@@ -30,6 +30,11 @@
 from cubicweb.web import uicfg
 from cubicweb.web.views import tabs, actions
 
+
+_abaa = uicfg.actionbox_appearsin_addmenu
+_abaa.tag_object_of(('CWSourceSchemaConfig', 'cw_schema', '*'), False)
+_abaa.tag_object_of(('CWSourceSchemaConfig', 'cw_for_source', '*'), False)
+
 # source primary views #########################################################
 
 _pvs = uicfg.primaryview_section