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

Martin Dengler martin
Thu Apr 24 12:34:00 EDT 2008


On Thu, Apr 24, 2008 at 12:13:19PM -0400, Benjamin M. Schwartz wrote:
> I would prefer a true ternary expression (new in 2.5):
> mute_item_text = 'Unmute' if self._model.props.muted else 'Mute'

Doh -- I forgot we're on 2.5.  Of course this is the right thing to
do.  Thanks.

> - --Ben

Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080424/72d4041c/attachment.pgp 



More information about the Sugar-devel mailing list