equal
deleted
inserted
replaced
97 renderer = Choice(title=_("Gallery template"), |
97 renderer = Choice(title=_("Gallery template"), |
98 description=_("Presentation template used for this gallery"), |
98 description=_("Presentation template used for this gallery"), |
99 vocabulary='PyAMS gallery renderers') |
99 vocabulary='PyAMS gallery renderers') |
100 |
100 |
101 def append(self, value, notify=True): |
101 def append(self, value, notify=True): |
102 """Append new file to gallery""" |
102 """Append new file to gallery |
|
103 |
|
104 @param value: the media object to append |
|
105 @param boolean notify: if 'False', the given value object is pre-located so that |
|
106 adding events are not notified |
|
107 """ |
103 |
108 |
104 def get_visible_medias(self): |
109 def get_visible_medias(self): |
105 """Get iterator over visible medias""" |
110 """Get iterator over visible medias""" |
106 |
111 |
107 |
112 |