Permalink
Browse files

Adds a new StockImage

git-svn-id: svn://cherokee-project.com/CTK/trunk@4770 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent 9fef4a4 commit 41ef3deb529ef5f0252370a1fe4ed7c795a19264 taher committed Apr 8, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 CTK/Image.py
  2. BIN static/images/tick.png
View
@@ -70,5 +70,10 @@ def __init__ (self, name, _props={}):
props['alt'] = _('Loading')
Image.__init__ (self, props)
+ elif name == 'tick':
+ props['src'] = '/CTK/images/tick.png'
+ props['alt'] = _('Enabled')
+ Image.__init__ (self, props)
+
else:
assert False, "Unknown stock image: %s" %(name)
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 41ef3de

Please sign in to comment.