use get_name(), get_description() instead of name, description in order to circumvent problem with byte-array conversion to string
Commit from Sugar Labs: Translation System by user AlanJAS.: 401 of 406 messages translated (5 fuzzy).
Commit from Sugar Labs: Translation System by user cjl.: 406 of 406 messages translated (0 fuzzy).
Move the code used to get the Pixbuf from the preview to the toolkit

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Add a option to show the preview from the objects in the journal

Use a IconView and the preview images are generated as needed.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Clear query button should respect what_filter parameter

When he ObjectChooser was opened filtering by a file type (e.g. Images),
and the user filter something by text, and the query is empty,
when the user press the button to clear the query,
the initial filter should be respected.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Commit from Sugar Labs: Translation System by user cjl.: 405 of 406 messages translated (0 fuzzy).
Merge branch 'objectchooser_preview-try3' of https://github.com/godiard/sugar into godiard-objectchooser_preview-try3
Merge branch 'master' of https://github.com/sugarlabs/sugar
Add iconview.py and iconmodel.py to POTFILES.in

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Downloader: use Soup and set timeouts

Downloading via GIO uses gvfs internally. Unfortunately gvfs does not
set or handle connection timeouts, meaning that bad connectivity can
lead to a total hang.

Fixing gvfs is not easy:
https://mail.gnome.org/archives/gvfs-list/2013-July/msg00000.html

And while looking at the bug, I realised just how much overkill this
is. gvfs runs in a separate process and does the HTTP communication,
communicating back to gio over dbus, and has a few layers of abstraction.

The gio developers on IRC recommended just to use libsoup directly,
which is not hard. And we can set timeouts appropriately in order to
handle bad connectivity.

This required some tweaks to the internal Downloader API - we can now
handle cancellation much more directly.
ASLO updater: use Downloader class

Re-use the general downloader class for downloading activity
metadata, which means that interrupted connections will now error
and time out correctly.

This involved adding a "download to memory" interface to the
Downloader class, which has a new unit test.
Microformat updater: use Downloader class

Re-use the general downloader class for downloading activity
metadata, which means that interrupted connections will now error
and time out correctly.

This involved adding a get_size() request to the downloader, and a
got-chunk signal for users that don't require the entire download
presented as a single buffer.
httprange: use Downloader class

Increase code re-use by using the Downloader class instead of urllib2.
The advantage here is that Soup keeps around connections for a while,
so instead of re-creating TCP streams for each partial read, we just
re-use the existing ones. This results in a noticable speedup when doing
metadata lookups.

Another advantage is that we can run the main loop while we are waiting
for a response. This means that there is no need to create a separate
thread for metadata lookups.
Updater: handle cancel from STATE_CHECKED

Closing the activity updater when the list of updates was visible,
then reopening it again, resulted in an exception. Handle this
cancellation case properly.
Add missing test.txt

This is used by the Downloader tests.
Key dialog: pass key as-is to NetworkManager

NetworkManager will perform the appropriate key generation
without us having to do this.
Add service providers XML database support

It adds:

- a class to parse XML and retrieve elements.
- a class to retrieve long names from a system file.
- a class to control status when changing options and store selection using
	GConf.
Create tests for service providers classes
Add combo boxes to choose 3G service provider

It adds 3 combo boxes to navigate through service providers database XML
files using country, provider and plan.

It uses ServiceProviders model class to get previous selection, store new
one and populate surrogate options.