Set the AT_SPI_CLIENT variable in the tests

This ensures the test itself is not recognized as a client
by the registry. I'm not sure how that happens since we are
not loading gtk, but it does. Not being a real gtk client with
a mainloop we wasn't answering dbus calls and causing the registry
to hang and fail.
Merge pull request #5 from dnarvaez/atspi

Set the AT_SPI_CLIENT variable in the tests
Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy).
Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3
Log the UI tree on error

The dump method doesn't actually print anything, just
returns the tree as a string.
Merge pull request #6 from dnarvaez/printui

Log the UI tree on error
Commit from Sugar Labs: Translation System by user cjl.: 10 of 40 messages translated (1 fuzzy).
Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3
Add filter_type optative parameter to objectchooser

Constants are defined to select the different filter_type
values. A comment was added to document the use.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3
Factor out the discover logic to the test module

This avoids duplication in sugar and sugar-toolkit-gtk3
makefiles.
Move setting AT_SPI_CLIENT to discover

It needs to be called as early as possible before unit tests
has a chance to import gtk.

Hopefully will fix random test failures we are seeing in buildbot.
Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3
Fix ObjectChooser backwards compatibility

The last change brak compatibility with the use in activities
without set the filter_type parameter, because None is not
a allowed value in the dbus call.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Add bundle instantiation helpers

Add some helper functions for use by upcoming changes in the Sugar shell.
Improve bundle API for bundleregistry changes

The bundle API is a bit confusing and inconsistent. Fix up the
ActivityBundle and ContentBundle classes to be more consistent and to
work with the ongoing improvements being made in bundleregistry.
Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3
Push several PO files
Revert "Push several PO files"

This reverts commit 423278c88e2f8eac3e86a95433880a43063000e6.
Reapply pootle changes

Excluding the pot change