[sugar] [PATCH] Add speaker device and icon by default

Bert Freudenberg bert
Thu Apr 24 12:14:13 EDT 2008


On 24.04.2008, at 18:01, Eben Eliason wrote:
>
>> +        mute_item_text = self._model.props.muted and 'Unmute' or  
>> 'Mute'
>
> This is a tricky ternary stand-in.  Very clever.  Is it clear enough  
> for others?


It's an abuse of Python, IMHO.


- Bert -





More information about the Sugar-devel mailing list