[POS-commit] Kiwi/Kiwi Views.py,1.95,1.96
kiko at async.com.br
kiko at async.com.br
Fri May 9 01:48:48 BRST 2003
Update of /cvs/Kiwi/Kiwi
In directory anthem:/tmp/cvs-serv4125
Modified Files:
Views.py
Log Message:
Provide default state for set_color()
Index: Views.py
===================================================================
RCS file: /cvs/Kiwi/Kiwi/Views.py,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- Views.py 2 May 2003 06:55:27 -0000 1.95
+++ Views.py 9 May 2003 04:48:45 -0000 1.96
@@ -250,7 +250,7 @@
"""sets the foreground color for a widget"""
self.set_color(widget, color, "fg", state)
- def set_color(self, widget, color, attr_name, state):
+ def set_color(self, widget, color, attr_name, state=gtk.STATE_NORMAL):
"""Generic color setter.
- widget: which widget to change the style color for
- color: a color specified as a name or hex triplet
More information about the POS-commit
mailing list