[Dextrose] [Sugar-devel] [PATCH v2 PaintActivity] Changes made to save the last added text item. (OLPC #5917)

James Cameron quozl at laptop.org
Wed Oct 20 21:40:22 EDT 2010


On Wed, Oct 20, 2010 at 06:11:30PM -0300, Gonzalo Odiard wrote:
> * replace the values 1 and 0 for constants like James said.

Alternatively, use True and False while also changing the variable name
to indicate what it is about the status that is important; such as

	self.text_pending

or

	self.text_in_progress

or

	self.text_being_written

"status" is ambiguous.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Dextrose mailing list