Remove zmi_views menus from zope.file?

Uli Fouquet <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hi there,

zope.file still registers browser menus for `zmi_views` in its
browser.zcml. This is a problem if you don't have/want the ZMI but want
to use zope.file otherwise (IMHO it also means an undeclared dependency,
as none of the packages zope.file declares to depend on really provides
this browser menu AFAICS).

I see that it is easy to register such a menu yourself but it annoys and
confuses people new to Grok/Zope.

I'd therefore like to remove these registrations from zope.file, make it
at least conditional, or move it to some `menu.zcml` or similar, not
included automatically by z3c.autoinclude and friends.

Is there a reason why that shouldn't happen? If not: what way would be
the best in your opinion (removal/conditional/menu.zcml)?

Best regards,

-- 
Uli

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk/CMaAACgkQXZ59JM1tazsBNACgqg34ZjHZugxZJmBqydt6Chec
xGwAnRfalxKT0EJB08PU/IyLFnKR5y+S
=1B0T
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.