Commit fe7aa149 authored by 's avatar

Made changes to manage_options to support std icons

parent 7eff7b0b
"""Folder object """Folder object
$Id: Folder.py,v 1.5 1997/08/08 23:03:21 jim Exp $""" $Id: Folder.py,v 1.6 1997/08/18 15:14:53 brian Exp $"""
__version__='$Revision: 1.5 $'[11:-2] __version__='$Revision: 1.6 $'[11:-2]
from Globals import HTMLFile from Globals import HTMLFile
...@@ -74,11 +74,11 @@ class Folder(ObjectManager,DocumentHandler,ImageHandler,FolderHandler): ...@@ -74,11 +74,11 @@ class Folder(ObjectManager,DocumentHandler,ImageHandler,FolderHandler):
manage_options=( manage_options=(
{'icon':icon, 'label':'Contents', {'icon':icon, 'label':'Contents',
'action':'manage_main', 'target':'manage_main'}, 'action':'manage_main', 'target':'manage_main'},
{'icon':'OFS/properties.jpg', 'label':'Properties', {'icon':'OFS/Properties_icon.gif', 'label':'Properties',
'action':'manage_propertiesForm', 'target':'manage_main'}, 'action':'manage_propertiesForm', 'target':'manage_main'},
{'icon':'AccessControl/AccessControl_icon.gif', 'label':'Access Control', {'icon':'AccessControl/AccessControl_icon.gif', 'label':'Access Control',
'action':'AccessControlLists/manage_main', 'target':'manage_main'}, 'action':'AccessControlLists/manage_main', 'target':'manage_main'},
{'icon':'App/help.jpg', 'label':'Help', {'icon':'OFS/Help_icon.gif', 'label':'Help',
'action':'manage_help', 'target':'_new'}, 'action':'manage_help', 'target':'_new'},
) )
......
__doc__="""Object Manager __doc__="""Object Manager
$Id: ObjectManager.py,v 1.6 1997/08/13 19:09:05 jim Exp $""" $Id: ObjectManager.py,v 1.7 1997/08/18 15:14:54 brian Exp $"""
__version__='$Revision: 1.6 $'[11:-2] __version__='$Revision: 1.7 $'[11:-2]
from SingleThreadedTransaction import Persistent from SingleThreadedTransaction import Persistent
...@@ -25,7 +25,7 @@ class ObjectManager(Acquirer,Management,Persistent): ...@@ -25,7 +25,7 @@ class ObjectManager(Acquirer,Management,Persistent):
meta_types = dynamic_meta_types = () meta_types = dynamic_meta_types = ()
id ='default' id ='default'
title='' title=''
icon ='dir.jpg' icon ='OFS/Folder_icon.gif'
_objects =() _objects =()
_properties =({'id':'title', 'type': 'string'},) _properties =({'id':'title', 'type': 'string'},)
...@@ -33,11 +33,11 @@ class ObjectManager(Acquirer,Management,Persistent): ...@@ -33,11 +33,11 @@ class ObjectManager(Acquirer,Management,Persistent):
manage_propertiesForm=HTMLFile('OFS/properties') manage_propertiesForm=HTMLFile('OFS/properties')
manage_options=( manage_options=(
{'icon':'OFS/templates.jpg', 'label':'Objects', {'icon':icon, 'label':'Objects',
'action':'manage_main', 'target':'manage_main'}, 'action':'manage_main', 'target':'manage_main'},
{'icon':'OFS/properties.jpg', 'label':'Properties', {'icon':'OFS/Properties_icon.gif', 'label':'Properties',
'action':'manage_propertiesForm', 'target':'manage_main'}, 'action':'manage_propertiesForm', 'target':'manage_main'},
{'icon':'APP/help.jpg', 'label':'Help', {'icon':'OFS/Help_icon.gif', 'label':'Help',
'action':'manage_help', 'target':'_new'}, 'action':'manage_help', 'target':'_new'},
) )
...@@ -252,6 +252,9 @@ class ObjectManager(Acquirer,Management,Persistent): ...@@ -252,6 +252,9 @@ class ObjectManager(Acquirer,Management,Persistent):
############################################################################## ##############################################################################
# #
# $Log: ObjectManager.py,v $ # $Log: ObjectManager.py,v $
# Revision 1.7 1997/08/18 15:14:54 brian
# Made changes to manage_options to support std icons
#
# Revision 1.6 1997/08/13 19:09:05 jim # Revision 1.6 1997/08/13 19:09:05 jim
# Got rid of ManageHTMLFile # Got rid of ManageHTMLFile
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment