[Zope3-checkins] SVN: Zope3/trunk/src/z3checkins/ Fixed z3checkins
icon handling.
Marius Gedminas
marius at pov.lt
Thu May 27 12:55:34 EDT 2004
Log message for revision 25054:
Fixed z3checkins icon handling.
-=-
Modified: Zope3/trunk/src/z3checkins/README
===================================================================
--- Zope3/trunk/src/z3checkins/README 2004-05-27 16:16:07 UTC (rev 25053)
+++ Zope3/trunk/src/z3checkins/README 2004-05-27 16:55:33 UTC (rev 25054)
@@ -27,10 +27,10 @@
prefix is matched against the beginning of the checkin directory (put
longer, more specific prefixes first. * is a catch-all prefix, and
- should be placed last).
+ should be placed last). Lines starting with # are ignored.
icon-name is a Zope 3 resource name. z3checkins comes with the following
- icons: zope3.png, product.png, message.png
+ icons: zope3.png, product.png, message.png, branch.png.
alt-text is a short alternate text
@@ -45,8 +45,9 @@
http://mail.zope.org/pipermail/zope3-checkins/
Icon definitions:
- Zope3 zope3.png Z3 Zope 3 core
- * product.png Product Zope 3 product
+ # prefix icon title description
+ Zope3/branches branch.png Branch Zope 3 branch
+ * zope3.png Z3 Zope 3 trunk
Then, go to the Metadata tab and set the title.
Modified: Zope3/trunk/src/z3checkins/message.py
===================================================================
--- Zope3/trunk/src/z3checkins/message.py 2004-05-27 16:16:07 UTC (rev 25053)
+++ Zope3/trunk/src/z3checkins/message.py 2004-05-27 16:55:33 UTC (rev 25054)
@@ -586,10 +586,12 @@
return self._subtrees
self._subtrees = []
container = self.context.__parent__
- description = container.description
- if not description:
+ icons = container.icons
+ if not icons:
return self._subtrees
- for line in description.splitlines():
+ for line in icons.splitlines():
+ if line.startswith('#'):
+ continue
items = line.split(None, 3)
if len(items) < 4:
continue
More information about the Zope3-Checkins
mailing list