Skip to content

Commit

Permalink
Adds missing title properties
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@4703 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Apr 3, 2010
1 parent dcce2ae commit 701a614
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CTK/ToggleButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,8 @@ def Render (self):

class ToggleButtonOnOff (ToggleButtonImages):
def __init__ (self, active=True, props={}):
ToggleButtonImages.__init__ (self, ImageStock('on'), ImageStock('off'), active, props.copy())
ToggleButtonImages.__init__ (self,
ImageStock('on', {'title': _("Disable")}),
ImageStock('off', {'title': _("Enable")}),
active, props.copy())

0 comments on commit 701a614

Please sign in to comment.