Use set_color_xo instead set_color

set_color needs more arguments, set_color_xo only one str.
WARNING: Deprecated
CurrentActivityIcon need check if _home_activity is None - Fixes #4725

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Display keyboard shortcuts in palettes - Fixes #4716

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Inhibit suspend while doing text to speech

When suspend/resume is enabled, and sugar is doing tts
in a long text, suspend can make the computer sleep
in the middle of the text.
Having support to inhibit suspend/resume in the toolkit
allow us to close this old OLPC ticket [1]

[1] http://dev.laptop.org/ticket/11830

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
A small bug fix, due to the GSettings port and homeview key merging
Fixed ticket 4694.
* In home view, if searching highlights only one icon, pressing enter
  launches the activity.
Fix pep8 errors
Rework wireless control panel section to respect non-wireless connections

Fixes #4410  https://bugs.sugarlabs.org/ticket/4410

The 'Discard network history' button is peculiar to Sugar, and
is destructive to all non-wireless connections, despite being in
the 'Wireless' section of the control panel.

Relabel the code variables and functions to be specific to
wireless connections.

Recode the functions to exclude non-wireless connections and
include only 802-11-wireless or 802-11-olpc-mesh types.

To minimize the chances that a manually created connection (such
as 'Sugar Ad-hoc Network 2') is falsely white-listed as one of the
Sugar internal ad hoc or olpc-mesh connections, each connection
is tested against a discrete white list and specific to the
wireless mode or connection type.

Relabel the 'Radio' box instructions and 'Discard ...' button
to avoid confusion over their state and actions.

Feature description:
https://wiki.sugarlabs.org/go/Features/Network_control_panel
Release 0.101.2
Pyflakes fixes
Release 0.101.3