Remove unnecessary check for python headers

We are not building python bindings anymore these days,
we are using gobject-introspection.
Merge branch 'headers' of https://github.com/dnarvaez/sugar-toolkit-gtk3 into dnarvaez-headers
Add menu width chars to sugar3
pep8 fixes for 'Add menu width chars'
Icon: deprecate icon_size

pixel_size should be always used now.

Change SMALL_ICON_SIZE to cover the other sizes at settings.ini.

Adds a transformation to keep backwards compatibility for some
time. This will be removed in the future.
Keep updated CellRendererInvoker self.path updated - Fixes #4717

Since CellRendererInvoker can set the path at None if a mouse event
is out of the area of the renderer, can break the use of touch,
if happen after the mouse movement. This patch set the path,
in the point_in_cell_renderer test, for the positive case,
solving the issue.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Revert "Keep updated CellRendererInvoker self.path updated - Fixes #4717"

This reverts commit 353e05a08657c862ce78912aed0ce0d07ba44cb8.
Fixes #1929, update toolbar examples in activity doc strings
Merge pull request #95 from SAMdroid-apps/ActivityDocStrings2

Fixes #1929, update toolbar examples in activity doc strings
Webkit1 compatibility: send 404 error if the file don't exists

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Remove unused code

Fixes pyflakes error

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Inhibit suspend while a activity is shared

In some network environments, suspend/reume can make loose
messages and break collaboration. This patch inhibit suspend
when collaboration start. The implementation can be used by activities
or Sugar to inhibit suspend/resume when needed.

More information in http://dev.laptop.org/ticket/10363

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Restore suspend catch the wrong exception

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Add accelerator to PaletteMenuItem - Fixes #4716

With the port to Gtk3, we lost the display of the keybord shortcut
available in MenuItem.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Release 0.101.2
Release 0.101.3
Use Gio.content_type_guess to identify mime type - Fixes #4715

Replace the use of a custom implentation in SugarExt

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Implement mime.get_mime_parents using python

This is the only method pending implemented in c,
then we can remove seven files previously used.

Add a test for a corner case untested previously

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Remove c implementation of mime methods

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
port optparse to argparse in bundlebuilder.py