Changeset 3151 in products for quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/util.py
- Timestamp:
- Apr 20, 2011 8:15:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/util.py
r1319 r3151 17 17 } 18 18 19 19 20 def getDropDownMenuSettings(context): 20 21 """Return dropdown menu settings""" … … 22 23 return DropDownMenuRecordsProxy(context, registry, IDropDownMenuSettings, 23 24 omitted=()) 25 24 26 25 27 class DropDownMenuRecordsProxy(RecordsProxy): … … 30 32 # override initialization to pass context for further purposes; 31 33 # yes, I know, this is badly to depend on context in utilities, 32 # but I haven't come up with some better way to proxy plone.registry yet33 # skip __setattr__34 # but I haven't come up with some better way to proxy 35 # plone.registry yet skip __setattr__ 34 36 self.__dict__['__context__'] = context 35 37 super(DropDownMenuRecordsProxy, self).__init__(registry, schema,
Note: See TracChangeset
for help on using the changeset viewer.