[sugar] fix for 1846, sugar crashes when nick is whitespace

Owen Williams owen
Fri Jun 29 10:44:37 EDT 2007


Here is a patch for http://dev.laptop.org/ticket/1846.  I am just
patching intro.py to reject usernames that are all whitespace and to
trim excess whitespace on either end.

Also, when a user supplies a blank nickname and presses the forward
button, I briefly flash the "My Name:" label.  This can be changed if
there's a better way to indicate why the interface is refusing to
advance.

owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intro_name_strip_patch-1.diff
Type: text/x-patch
Size: 2090 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20070629/1ef36182/attachment.bin 



More information about the Sugar-devel mailing list