Handle invalid /desktop/sugar/user/color

This is currently breaking the activity list unit test where
the profile has not been initialized. But, more in general,
it seems like we should not be crashing if our settings has
unexpected values.
Merge pull request #4 from dnarvaez/no-color

Handle invalid /desktop/sugar/user/color

Acked-by: Manuel Quiñones <manuq@dev.laptop.org>
Use gettext algorithm to determine locale for activity.linfo

When activity bundles are loaded, the activity name and summary are
pulled from an activity.linfo file that is associated with
locale. However, sometimes locale, which uses $LANG has been
superceded by $LANGUAGE as set in
extensions/cpsection/languages/model.py. This patch uses the same
algorithm as gettext.py to find activity.linfo

This problem is seen on the .AU systems which use en_AU for locale and
en_GB for LANGUAGE.
Merge pull request #9 from walterbender/fix-locale-4

Use gettext algorithm to determine locale for activity.linfo
Color Palette: get back horizontal padding - SL #4325

The PaletteWindow lost the horizontal padding when it started to be
used as replacement of palette menus.  So now each implementation has
to add the padding.

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Merge pull request #10 from manuq/4325

Color Palette: get back horizontal padding - SL #4325