Use introspection instead of dbus to set wireless on/off

Using introspection simplify the code a lot,
and some systems have many dbus errors.
This is just a start to use NMClient instead of the dbus interfaces.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Find if an activity is GTK2 or 3 in the view source dialog
Speech palette: don't save values for every slider movement

The slider trigger changed signals for every movement,
save when he user stop moving the control.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Avoid mixing signals received by settings updates - Fixes #4759

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Merge branch 'speech_fix' of https://github.com/godiard/sugar into godiard-speech_fix
Delay saving the sound volume, to avoid saving many times

While the user move the slider avoid saving the volume,
and do it when the movement stops.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Replace use of dbus on aboutcomputer panel
Merge branch 'wifi_on_off_introspection' of https://github.com/godiard/sugar into godiard-wifi_on_off_introspection
Merge branch 'view-source-toolkit-version-rebase' of https://github.com/SAMdroid-apps/sugar into SAMdroid-apps-view-source-toolkit-version-rebase
Avoid pulsing icon at startup - Fixes #4767

Check if the window is a splash screen before add it,
in all the cases. This check solves the issue originated
by a race condition between the splash window creation and
the creation of the main activity window.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Fix notification badges position and size

Do not use unscaled magic numbers badge size and position,
as this caused badges to look and locate differently with
different SUGAR_SCALING values.

Instead, honor Icon class _BADGE_SIZE for calculating the
badge size.

Also, locate the badge at the bottom-left corner of the icon.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>